summaryrefslogtreecommitdiffstats
path: root/usr.bin/whois/whois.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/whois/whois.c')
-rw-r--r--usr.bin/whois/whois.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/whois/whois.c b/usr.bin/whois/whois.c
index c216556..adb6232 100644
--- a/usr.bin/whois/whois.c
+++ b/usr.bin/whois/whois.c
@@ -72,7 +72,6 @@ __FBSDID("$FreeBSD$");
#define PNICHOST "whois.apnic.net"
#define MNICHOST "whois.ra.net"
#define QNICHOST_TAIL ".whois-servers.net"
-#define SNICHOST "whois.6bone.net"
#define BNICHOST "whois.registro.br"
#define NORIDHOST "whois.norid.no"
#define IANAHOST "whois.iana.org"
@@ -164,8 +163,10 @@ main(int argc, char *argv[])
warnx("-R is deprecated; use '-c ru' instead");
country = "ru";
break;
+ /* Remove in FreeBSD 10 */
case '6':
- host = SNICHOST;
+ errx(EX_USAGE,
+ "-6 is deprecated; use -[aAflr] instead");
break;
case '?':
default:
OpenPOWER on IntegriCloud