diff options
| author | ragge <ragge@NetBSD.org> | 2003-02-25 14:42:30 +0000 |
|---|---|---|
| committer | ragge <ragge@NetBSD.org> | 2003-02-25 14:42:30 +0000 |
| commit | e8d062d58b2963d8ea2f42dbb278aaf60eb717da (patch) | |
| tree | 7ecd39261db55431ed59d64930f2597230b7e9a2 /sys/lib | |
| parent | 2bad1341297bc6223f1b0799c554b262325d50ac (diff) | |
Remove bogus check for bogus netmask.
Diffstat (limited to 'sys/lib')
| -rw-r--r-- | sys/lib/libsa/bootp.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/lib/libsa/bootp.c b/sys/lib/libsa/bootp.c index b4f23a26778..8692951d473 100644 --- a/sys/lib/libsa/bootp.c +++ b/sys/lib/libsa/bootp.c @@ -1,4 +1,4 @@ -/* $NetBSD: bootp.c,v 1.22 2002/03/20 23:10:39 thorpej Exp $ */ +/* $NetBSD: bootp.c,v 1.23 2003/02/25 14:42:30 ragge Exp $ */ /* * Copyright (c) 1992 Regents of the University of California. @@ -225,15 +225,6 @@ bootp(sock) printf("'native netmask' is %s\n", intoa(nmask)); #endif - /* Check subnet mask against net mask; toss if bogus */ - if ((nmask & smask) != nmask) { -#ifdef BOOTP_DEBUG - if (debug) - printf("subnet mask (%s) bad\n", intoa(smask)); -#endif - smask = 0; - } - /* Get subnet (or natural net) mask */ netmask = nmask; if (smask) |
