From cbccd37599bb2a6007c29493ed05f02a0306d4da Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 10 Nov 1999 14:31:11 +0000 Subject: Patch from Eric Norum which includes: Patches against 1105 snapshot to add NTP server support to network configuration/BOOTP. --- cpukit/libnetworking/nfs/bootp_subr.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'cpukit/libnetworking/nfs/bootp_subr.c') diff --git a/cpukit/libnetworking/nfs/bootp_subr.c b/cpukit/libnetworking/nfs/bootp_subr.c index 36907cda1d..b809143d6d 100644 --- a/cpukit/libnetworking/nfs/bootp_subr.c +++ b/cpukit/libnetworking/nfs/bootp_subr.c @@ -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); { -- cgit v1.2.3