diff options
Diffstat (limited to 'src/nt')
-rw-r--r-- | src/nt/nt.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nt/nt.c b/src/nt/nt.c index 5764f8f4a..ae0fef119 100644 --- a/src/nt/nt.c +++ b/src/nt/nt.c | |||
@@ -165,6 +165,9 @@ interface_proc (void *cls, | |||
165 | struct GNUNET_NT_InterfaceScanner *is = cls; | 165 | struct GNUNET_NT_InterfaceScanner *is = cls; |
166 | /* Calculate network */ | 166 | /* Calculate network */ |
167 | struct NT_Network *net = NULL; | 167 | struct NT_Network *net = NULL; |
168 | (void) name; | ||
169 | (void) isDefault; | ||
170 | (void) broadcast_addr; | ||
168 | 171 | ||
169 | /* Skipping IPv4 loopback addresses since we have special check */ | 172 | /* Skipping IPv4 loopback addresses since we have special check */ |
170 | if (addr->sa_family == AF_INET) | 173 | if (addr->sa_family == AF_INET) |
@@ -285,9 +288,9 @@ get_addresses (void *cls) | |||
285 | * @return type of the network the address belongs to | 288 | * @return type of the network the address belongs to |
286 | */ | 289 | */ |
287 | enum GNUNET_NetworkType | 290 | enum GNUNET_NetworkType |
288 | GNUNET_NT_scanner_address_get_type (struct GNUNET_NT_InterfaceScanner *is, | 291 | GNUNET_NT_scanner_get_type (struct GNUNET_NT_InterfaceScanner *is, |
289 | const struct sockaddr *addr, | 292 | const struct sockaddr *addr, |
290 | socklen_t addrlen) | 293 | socklen_t addrlen) |
291 | { | 294 | { |
292 | struct NT_Network *cur = is->net_head; | 295 | struct NT_Network *cur = is->net_head; |
293 | enum GNUNET_NetworkType type = GNUNET_NT_UNSPECIFIED; | 296 | enum GNUNET_NetworkType type = GNUNET_NT_UNSPECIFIED; |