Patch from Eric Norum <eric@cls.usask.ca> which includes:

Patches against 1105 snapshot to add NTP server support to network
    configuration/BOOTP.
This commit is contained in:
Joel Sherrill
1999-11-10 14:31:11 +00:00
parent 442d047832
commit cbccd37599
10 changed files with 490 additions and 25 deletions

View File

@@ -730,7 +730,7 @@ processOptions (unsigned char *optbuf, int optbufSize)
dhcp_gotnetmask = 1;
break;
case 2: /* Time offset */
case 2:
/* Time offset */
if (len!=4)
panic("bootpc: time offset len is %d",len);
@@ -748,14 +748,8 @@ processOptions (unsigned char *optbuf, int optbufSize)
}
break;
/*
* Some old BOOTP daemons don't support the NTP server (42) tag,
* but do support the RFC 868 time server (4) tag. Cheat here
* and assume they mean the same thing.
*/
case 4:
case 42:
/* Time servers */
/* NTP servers */
if (len % 4)
panic ("bootpc: time server Len is %d", len);
{