CVSROOT:        /cvs
Module name:    src
Changes by:     flor...@cvs.openbsd.org 2014/01/10 14:57:44

Modified files:
        sbin/ping      : ping.c 
        sbin/ping6     : ping6.c 

Log message:
Fix the unitialized rtableid bug discovered and fixed in the previous
commit by brad@ by calling setsockopt SO_RTABLE only when -V is
present. As a bonus drop privileges very early in main, before option
parsing.
This brings ping6 more in line with what ping does and will make
eventual unification easier.

OK deraadt@
"works for me" brad@

Reply via email to