CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2014/01/21 16:42:45

Modified files:
        sys/net        : radix.c 

Log message:
Cleanup the abuse of x as the rn_addmask radix node. Since in most
cases x is just used as a temp variable. Main offender is rn_addmask()
which sets x once at the top uses it then late in the function and then
starts reuing it for various other stuff. While there fix some for loops
to while ones and fix one strange do { } while() loop.
And since rn_search() can not return NULL remove one extra check.
OK mpi@

Reply via email to