CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2019/01/10 07:49:07

Modified files:
        sbin/dhclient  : dhclient.c kroute.c 

Log message:
"AF_* values are *almost* always the correct choice, particularly with
POSIX APIs".

Also sprach guenther@. So switch PF_ROUTE to AF_ROUTE in socket() and
setsockopt() calls. Keep PF_ROUTE in sysctl(2) uses. adding a comment
for future visitors,

Also replace PF_UNSPEC with 0 in socketpair(), as socketpair(2) points
out this is the only sensible value.

Cluebat from and ok guenther@

Reply via email to