diff options
Diffstat (limited to 'ndp.c')
-rw-r--r-- | ndp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -76,6 +76,9 @@ int ndp(struct ctx *c, struct ethhdr *eh, size_t len) sizeof(struct in6_addr)) return -1; + if (IN6_IS_ADDR_UNSPECIFIED(&ip6h->saddr)) + return 1; + info("NDP: received NS, sending NA"); ihr->icmp6_type = NA; ihr->icmp6_code = 0; |