summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/tcpip.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-05-27 23:39:35 +0000
committerphk <phk@FreeBSD.org>1995-05-27 23:39:35 +0000
commit46125ba2eddf1b1eea2607293277346e29ee2af9 (patch)
tree291cad597f17930adf43e6eedc0bc0f9042e1b66 /release/sysinstall/tcpip.c
parentca8242ab1848c07abea376675ce3ec0c8a437cc8 (diff)
downloadFreeBSD-src-46125ba2eddf1b1eea2607293277346e29ee2af9.zip
FreeBSD-src-46125ba2eddf1b1eea2607293277346e29ee2af9.tar.gz
Major cleanup. Mediaroutines now get asked about a file. All the
multi part stuff centralized. The final check is backwards or something so it always said it failed, even it it didn't. Fixed tcpip address check to not be stupid, 10.0.255.1 is legal.
Diffstat (limited to 'release/sysinstall/tcpip.c')
-rw-r--r--release/sysinstall/tcpip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/tcpip.c b/release/sysinstall/tcpip.c
index 2c9d714..7ece498 100644
--- a/release/sysinstall/tcpip.c
+++ b/release/sysinstall/tcpip.c
@@ -1,5 +1,5 @@
/*
- * $Id: tcpip.c,v 1.20 1995/05/26 21:37:53 jkh Exp $
+ * $Id: tcpip.c,v 1.21 1995/05/26 22:08:59 jkh Exp $
*
* Copyright (c) 1995
* Gary J Palmer. All rights reserved.
@@ -137,7 +137,7 @@ static Layout layout[] = {
{ NULL },
};
-#define _validByte(b) ((b) > 0 && (b) < 255)
+#define _validByte(b) ((b) >= 0 && (b) < 255)
/* whine */
static void
OpenPOWER on IntegriCloud