summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/nfs/bootp_subr.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-10 14:31:11 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-10 14:31:11 +0000
commitcbccd37599bb2a6007c29493ed05f02a0306d4da (patch)
tree8481c8814a64ce227a2a17202eb7b8be2444d472 /cpukit/libnetworking/nfs/bootp_subr.c
parentCombination of committing some new files which had been overlooked (diff)
downloadrtems-cbccd37599bb2a6007c29493ed05f02a0306d4da.tar.bz2
Patch from Eric Norum <eric@cls.usask.ca> which includes:
Patches against 1105 snapshot to add NTP server support to network configuration/BOOTP.
Diffstat (limited to 'cpukit/libnetworking/nfs/bootp_subr.c')
-rw-r--r--cpukit/libnetworking/nfs/bootp_subr.c10
1 files changed, 2 insertions, 8 deletions
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);
{