aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-09-26 19:56:43 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-09-26 19:56:43 +0000
commit203639c449d1bf721eebfc6f054d5198b014ce4a (patch)
treeb4c0e3a0aabb66370f070545b5b7050dc9b482d1 /sbin
parentc1e309b38bf2ef698a07eba6b0013c0a06497fff (diff)
downloadsrc-203639c449d1bf721eebfc6f054d5198b014ce4a.tar.gz
src-203639c449d1bf721eebfc6f054d5198b014ce4a.zip
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.
Notes
Notes: svn path=/head/; revision=104016
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions