K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-14T08:23:49.000000Z K 7 svn:log V 844 MFC. net/route.c: A route generated from an RTF_CLONING route had the RTF_WASCLONED flag set but did not have a reference to the parent route, as documented in the rtentry(9) manpage. This prevented such routes from being deleted when their parent route was deleted. netinet/in.c: When address is removed from an interface, also delete all routes that point to this interface and address. Previously, for example, if you changed the address on an interface, outgoing IP datagrams might still use the old address. The only solution was to delete and re-add some routes. netinet/in_rmx.c, netinet/in_var.h, netinet/raw_ip.c: In in_ifadown(), differentiate between whether the interface goes down or interface address is deleted. Only delete static routes in the latter case. PR: kern/20785, bin/26970, i386/27280 END