diff options
author | jkh <jkh@FreeBSD.org> | 1998-08-31 09:02:03 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-08-31 09:02:03 +0000 |
commit | 7dc9b474685579cce29a004c3ebcbd5710c4b5e1 (patch) | |
tree | f1a915de14c22795fa560f7cffc4caf2fb2a8283 /usr.sbin/sysinstall/tcpip.c | |
parent | 8178cc1c58d7aa76c4920807990bad58c31114cb (diff) | |
download | FreeBSD-src-7dc9b474685579cce29a004c3ebcbd5710c4b5e1.zip FreeBSD-src-7dc9b474685579cce29a004c3ebcbd5710c4b5e1.tar.gz |
Accept gateway value of NO
Diffstat (limited to 'usr.sbin/sysinstall/tcpip.c')
-rw-r--r-- | usr.sbin/sysinstall/tcpip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/tcpip.c b/usr.sbin/sysinstall/tcpip.c index a78bc85..5a862f2 100644 --- a/usr.sbin/sysinstall/tcpip.c +++ b/usr.sbin/sysinstall/tcpip.c @@ -1,5 +1,5 @@ /* - * $Id: tcpip.c,v 1.71 1997/09/17 13:33:14 jkh Exp $ + * $Id: tcpip.c,v 1.72 1997/09/17 16:18:22 pst Exp $ * * Copyright (c) 1995 * Gary J Palmer. All rights reserved. @@ -132,7 +132,7 @@ verifySettings(void) { if (!hostname[0]) feepout("Must specify a host name of some sort!"); - else if (gateway[0] && !verifyIP(gateway)) + else if (gateway[0] && strcmp(gateway, "NO") && !verifyIP(gateway)) feepout("Invalid gateway IP address specified"); else if (nameserver[0] && !verifyIP(nameserver)) feepout("Invalid name server IP address specified"); |