projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
assert
[oweals/gnunet.git]
/
src
/
vpn
/
gnunet-service-dns.c
diff --git
a/src/vpn/gnunet-service-dns.c
b/src/vpn/gnunet-service-dns.c
index 7d9826547c546489d34ec286a5b8279fb35643b7..02dc16494f78e12bea29117ef9f39f1345f8124f 100644
(file)
--- a/
src/vpn/gnunet-service-dns.c
+++ b/
src/vpn/gnunet-service-dns.c
@@
-521,6
+521,9
@@
publish_name (void *cls,
GNUNET_CRYPTO_hash(name, strlen(name)+1, &data.service_descriptor);
GNUNET_CRYPTO_hash(name, strlen(name)+1, &data.service_descriptor);
+ data.service_type = htonl(GNUNET_DNS_SERVICE_TYPE_UDP);
+ data.ports = htons(69);
+
char* keyfile;
if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename(cfg, "GNUNETD",
"HOSTKEY", &keyfile))
char* keyfile;
if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename(cfg, "GNUNETD",
"HOSTKEY", &keyfile))