diff options
-rw-r--r-- | src/dns/gnunet-service-dns.c | 17 | ||||
-rw-r--r-- | src/gns/gns.conf.in | 2 |
2 files changed, 14 insertions, 5 deletions
diff --git a/src/dns/gnunet-service-dns.c b/src/dns/gnunet-service-dns.c index c191f0531..6b75fd0f4 100644 --- a/src/dns/gnunet-service-dns.c +++ b/src/dns/gnunet-service-dns.c | |||
@@ -1097,7 +1097,10 @@ run (void *cls, | |||
1097 | 1097 | ||
1098 | helper_argv[0] = GNUNET_strdup ("gnunet-dns"); | 1098 | helper_argv[0] = GNUNET_strdup ("gnunet-dns"); |
1099 | if (GNUNET_SYSERR == | 1099 | if (GNUNET_SYSERR == |
1100 | GNUNET_CONFIGURATION_get_value_string (cfg, "dns", "IFNAME", &ifc_name)) | 1100 | GNUNET_CONFIGURATION_get_value_string (cfg, |
1101 | "dns", | ||
1102 | "IFNAME", | ||
1103 | &ifc_name)) | ||
1101 | { | 1104 | { |
1102 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1105 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
1103 | "No entry 'IFNAME' in configuration!\n"); | 1106 | "No entry 'IFNAME' in configuration!\n"); |
@@ -1106,7 +1109,9 @@ run (void *cls, | |||
1106 | } | 1109 | } |
1107 | helper_argv[1] = ifc_name; | 1110 | helper_argv[1] = ifc_name; |
1108 | if ( (GNUNET_SYSERR == | 1111 | if ( (GNUNET_SYSERR == |
1109 | GNUNET_CONFIGURATION_get_value_string (cfg, "dns", "IPV6ADDR", | 1112 | GNUNET_CONFIGURATION_get_value_string (cfg, |
1113 | "dns", | ||
1114 | "IPV6ADDR", | ||
1110 | &ipv6addr)) ) | 1115 | &ipv6addr)) ) |
1111 | { | 1116 | { |
1112 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1117 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
@@ -1116,7 +1121,9 @@ run (void *cls, | |||
1116 | } | 1121 | } |
1117 | helper_argv[2] = ipv6addr; | 1122 | helper_argv[2] = ipv6addr; |
1118 | if (GNUNET_SYSERR == | 1123 | if (GNUNET_SYSERR == |
1119 | GNUNET_CONFIGURATION_get_value_string (cfg, "dns", "IPV6PREFIX", | 1124 | GNUNET_CONFIGURATION_get_value_string (cfg, |
1125 | "dns", | ||
1126 | "IPV6PREFIX", | ||
1120 | &ipv6prefix)) | 1127 | &ipv6prefix)) |
1121 | { | 1128 | { |
1122 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1129 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
@@ -1127,7 +1134,9 @@ run (void *cls, | |||
1127 | helper_argv[3] = ipv6prefix; | 1134 | helper_argv[3] = ipv6prefix; |
1128 | 1135 | ||
1129 | if (GNUNET_SYSERR == | 1136 | if (GNUNET_SYSERR == |
1130 | GNUNET_CONFIGURATION_get_value_string (cfg, "dns", "IPV4ADDR", | 1137 | GNUNET_CONFIGURATION_get_value_string (cfg, |
1138 | "dns", | ||
1139 | "IPV4ADDR", | ||
1131 | &ipv4addr)) | 1140 | &ipv4addr)) |
1132 | { | 1141 | { |
1133 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 1142 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
diff --git a/src/gns/gns.conf.in b/src/gns/gns.conf.in index f7682cda7..de50d1047 100644 --- a/src/gns/gns.conf.in +++ b/src/gns/gns.conf.in | |||
@@ -20,7 +20,7 @@ MAX_PARALLEL_BACKGROUND_QUERIES = 1000 | |||
20 | # we will ask gnunet-service-dns to pass DNS queries to us. Otherwise, | 20 | # we will ask gnunet-service-dns to pass DNS queries to us. Otherwise, |
21 | # we only answer GNS queries via the API (which itself may be | 21 | # we only answer GNS queries via the API (which itself may be |
22 | # called via NSS or other mechanisms). | 22 | # called via NSS or other mechanisms). |
23 | INTERCEPT_DNS = YES | 23 | INTERCEPT_DNS = NO |
24 | 24 | ||
25 | # PREFIX = valgrind --leak-check=full --track-origins=yes | 25 | # PREFIX = valgrind --leak-check=full --track-origins=yes |
26 | 26 | ||