summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-01-06 20:47:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-01-06 20:47:20 +0000
commit1ef58f232139e2f6fb4419f789338e370a26b6b0 (patch)
treea65e9e4b00c316117ee9987c6a0cbccb0398c029
parent94b08a9445500cce5f1d778e72fa4580ff2d2b99 (diff)
Rename VNICHOST -> NNICHOST now that Verisign has spun off NSI.
-rw-r--r--usr.bin/whois/whois.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/whois/whois.c b/usr.bin/whois/whois.c
index f71bcdcba5b..4f2277a2d86 100644
--- a/usr.bin/whois/whois.c
+++ b/usr.bin/whois/whois.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: whois.c,v 1.20 2003/01/05 00:27:55 millert Exp $ */
+/* $OpenBSD: whois.c,v 1.21 2003/01/06 20:47:19 millert Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)whois.c 8.1 (Berkeley) 6/6/93";
#else
-static const char rcsid[] = "$OpenBSD: whois.c,v 1.20 2003/01/05 00:27:55 millert Exp $";
+static const char rcsid[] = "$OpenBSD: whois.c,v 1.21 2003/01/06 20:47:19 millert Exp $";
#endif
#endif /* not lint */
@@ -71,9 +71,9 @@ static const char rcsid[] = "$OpenBSD: whois.c,v 1.20 2003/01/05 00:27:55 miller
#define PNICHOST "whois.apnic.net"
#define RUNICHOST "whois.ripn.net"
#define MNICHOST "whois.ra.net"
+#define NNICHOST "whois.networksolutions.com"
#define LNICHOST "whois.lacnic.net"
#define SNICHOST "whois.6bone.net"
-#define VNICHOST "whois.networksolutions.com"
#define QNICHOST_TAIL ".whois-servers.net"
#define WHOIS_PORT 43
@@ -276,7 +276,7 @@ choose_server(const char *name, const char *country)
qhead = country;
else if ((qhead = strrchr(name, '.')) == NULL) {
if (*name == '!')
- return (VNICHOST);
+ return (NNICHOST);
else if ((strncasecmp(name, "COCO-", 5) == 0 ||
strncasecmp(name, "COHO-", 5) == 0) &&
strtol(name + 5, &ep, 10) > 0 && *ep == '\0')