CVSROOT:        /cvs
Module name:    src
Changes by:     flor...@cvs.openbsd.org 2017/09/01 10:48:27

Modified files:
        sys/netinet6   : in6.h in6_ifattach.c 

Log message:
Use in6_get_rand_ifid() instead of get_last_resort_ifid() and delete the
get_last_resort_ifid() function because eww.
Also if your system is so constraint that you end up in
in6_get_rand_ifid() you don't deserve a random ifid that stays
stable over reboots.
Simplify code a bit since get_ifid() can no longer fail. It couldn't
fail before either because that code path was #if 0'ed.
While here sprinkle in some in6_ prefixes, pointed out by stsp.
OK stsp

Reply via email to