aboutsummaryrefslogtreecommitdiff
path: root/src/exit/gnunet-daemon-exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/gnunet-daemon-exit.c')
-rw-r--r--src/exit/gnunet-daemon-exit.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c
index 3dedae830..5bcf53f57 100644
--- a/src/exit/gnunet-daemon-exit.c
+++ b/src/exit/gnunet-daemon-exit.c
@@ -1227,12 +1227,10 @@ setup_fresh_address (int af,
1227 = (addr.s6_addr[i] | rnd.s6_addr[i]) & mask.s6_addr[i]; 1227 = (addr.s6_addr[i] | rnd.s6_addr[i]) & mask.s6_addr[i];
1228 } 1228 }
1229 } 1229 }
1230 while ( (0 == memcmp (&local_address->address.ipv6, 1230 while ( (0 == GNUNET_memcmp (&local_address->address.ipv6,
1231 &addr, 1231 &addr)) ||
1232 sizeof (struct in6_addr))) || 1232 (0 == GNUNET_memcmp (&local_address->address.ipv6,
1233 (0 == memcmp (&local_address->address.ipv6, 1233 &mask)) );
1234 &mask,
1235 sizeof (struct in6_addr))) );
1236 } 1234 }
1237 break; 1235 break;
1238 default: 1236 default: