Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2002 12:56:43 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/nfsclient nfs_vfsops.c
Message-ID:  <200209261956.g8QJui3t099538@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2002/09/26 12:56:43 PDT

  Modified files:
    sys/nfsclient        nfs_vfsops.c 
  Log:
  Apparently pxeboot passes in a mygateway of non-zero sin length
  from DHCP in the event that no gateway is returned from DHCP, breaking
  the assumption that we skip the routing insertion of the gateway
  if the sin length is zero.  Check also for s_addr of 0 to avoid the
  "Oh no, adding my default route failed" panic, making it possible
  to pxeboot machines on segments without default routes.  Arguably
  this could be a bug in pxeboot, or in the TUNABLE code, but this
  makes my boxes boot.
  
  Revision  Changes    Path
  1.125     +6 -1      src/sys/nfsclient/nfs_vfsops.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?200209261956.g8QJui3t099538>