CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2013/03/30 10:10:01
Modified files: sbin/dhclient : dhclient.c dhcpd.h kroute.c privsep.c privsep.h Log message: Since deleting all the addresses on an interface removes all the relevant entries from the arp cache, don't bother asking for/processing arp entries in the route dumps. Thus allowing use of NET_RT_FLAGS with RTF_GATEWAY and AF_INET, to ask for only the routes dhclient wants to expunge rather than all routes in existance. Greatly shrinks and simplifies the code. No intentional functional change. Tested by sthen@.