CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2014/06/26 07:08:25
Modified files: sys/net : if.c sys/netinet : in.c sys/netinet6 : in6_ifattach.c Log message: Calling in{6,}_purgeaddr() is not enough to remove an address from an interface. Two other operations are performed when issuing a SIOCDIFADDR{_IN6,} ioctl: call the address hook and the per-driver ioctl function. Since carp(4) relies on an address hook to recalculate its hash, make sure to call this hook when IFXF_NOINET6 is set or when the rdomain is changed. ok henning@, mikeb@