CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2013/10/09 03:33:43

Modified files:
        sys/net        : if.c 
        sys/netinet    : in.c in.h 

Log message:
Introduce in_ifdetach() a function to remove all the IPv4 addresses
of an interface, named after its IPv6 equivalent.

Make use of it instead of removing addresses by hand when detaching
or destroying an interface.  As a bonus, multicast records linked
to the just divorced^Wdetached interface are no longer leaked.

No objection from the gang, ok mikeb@

Reply via email to