Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2001 12:07:13 -0700 (PDT)
From:      Brian Somers <brian@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/ppp bundle.c command.c fsm.c ip.c ipv6cp.c ncp.c
Message-ID:  <200108181907.f7IJ7Ds18226@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
brian       2001/08/18 12:07:13 PDT

  Modified files:
    usr.sbin/ppp         bundle.c command.c fsm.c ip.c ipv6cp.c 
                         ncp.c 
  Log:
  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...
  
  Revision  Changes    Path
  1.122     +2 -2      src/usr.sbin/ppp/bundle.c
  1.273     +10 -21    src/usr.sbin/ppp/command.c
  1.61      +2 -3      src/usr.sbin/ppp/fsm.c
  1.97      +2 -3      src/usr.sbin/ppp/ip.c
  1.4       +13 -12    src/usr.sbin/ppp/ipv6cp.c
  1.3       +21 -34    src/usr.sbin/ppp/ncp.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108181907.f7IJ7Ds18226>