Module Name: src Committed By: ozaki-r Date: Fri Apr 6 16:03:16 UTC 2018
Modified Files: src/sys/netinet: in.c src/sys/netinet6: in6.c Log Message: Make GARP work again when DAD is disabled The change avoids setting an IP address tentative on initializing it when the IPv4 DAD is disabled (net.inet.ip.dad_count=0), which allows a GARP packet to be sent (see arpannounce). This is the same behavior of NetBSD 7, i.e., before introducing the IPv4 DAD. Additionally do the same change to IPv6 DAD for consistency. The change is suggested by roy@ To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/sys/netinet/in.c cvs rdiff -u -r1.264 -r1.265 src/sys/netinet6/in6.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.