summaryrefslogtreecommitdiffstats
path: root/lib/libdevinfo
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-08-18 19:07:13 +0000
committerbrian <brian@FreeBSD.org>2001-08-18 19:07:13 +0000
commitbf052a75557ab676fa35cf9c1ec4003794999685 (patch)
tree7970bc01f669a62400f33174cd77c70f50ce85a9 /lib/libdevinfo
parent4a1bf71cd83111e13e0b6d30625186949667544d (diff)
downloadFreeBSD-src-bf052a75557ab676fa35cf9c1ec4003794999685.zip
FreeBSD-src-bf052a75557ab676fa35cf9c1ec4003794999685.tar.gz
Back out the previous fix to deal with kernels that don't support IPv6,
and implement a far more subtle and correct fix. The reason behind the infinite loop was that ppp was trying to make up initial IPv6 numbers and wasn't giving up when it failed unexpectedly to assign the addresses it just fabricated to it's interface (thinking that the reason was because another interface was using the same address). It now attempts this up to 100 times before just failing and trying to muddle along (in reality, this should never happen more than a couple of times unless our random number generator doesn't work). Also, when IPv6 is not available, don't even try to assign the IPv6 interface address in the first place...
Diffstat (limited to 'lib/libdevinfo')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud