CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2009/03/30 19:31:26

Modified files:
        sys/net        : route.h 
        sbin/dhclient  : dhclient.c 

Log message:
claudio has spent too much time with the mbuf macros.

switch the rtsocket message filter specification so you can or the macros
converting the routing socket message types into the mask used by the
filter. ie:

-       ROUTE_SETFILTER(rtfilter, RTM_NEWADDR);
-       ROUTE_SETFILTER(rtfilter, RTM_DELADDR);
-       ROUTE_SETFILTER(rtfilter, RTM_IFINFO);
-       ROUTE_SETFILTER(rtfilter, RTM_IFANNOUNCE);
+       rtfilter = ROUTE_FILTER(RTM_NEWADDR) | ROUTE_FILTER(RTM_DELADDR) |
+           ROUTE_FILTER(RTM_IFINFO) | ROUTE_FILTER(RTM_IFANNOUNCE);

there's a manpage change coming.

ok claudio@

Reply via email to