FreeBSD Bugzilla – Attachment 14079 Details for
Bug 26521
Australia's whois.aunic.net as an option in whois(1)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.75 KB, created by
Walter Campbell
on 2001-04-12 22:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Walter Campbell
Created:
2001-04-12 22:50:01 UTC
Size:
1.75 KB
patch
obsolete
>diff -uNrd ../whois.dist/whois.1 ./whois.1 >--- ../whois.dist/whois.1 Thu Apr 12 17:18:25 2001 >+++ ./whois.1 Thu Apr 12 17:24:58 2001 >@@ -117,8 +117,8 @@ > .It Fl p > Use the Asia/Pacific Network Information Center > .Pq Tn APNIC >-database. It contains network numbers used in East Asia, Australia, >-New Zealand, and the Pacific islands. >+database. It contains network numbers used in East Asia, New Zealand, >+and the Pacific islands. > .It Fl Q > Do a quick lookup. This means that > .Nm >@@ -136,6 +136,10 @@ > database. It contains network numbers and domain contact information > for subdomains of > .Tn \&.RU . >+.It Fl u >+Use the Australia Network Information Center >+.Pq Tn AUNIC >+database. It contains network numbers used in Australia > .It Fl 6 > Use the IPv6 Resource Center > .Pq Tn 6bone >diff -uNrd ../whois.dist/whois.c ./whois.c >--- ../whois.dist/whois.c Thu Apr 12 17:18:25 2001 >+++ ./whois.c Thu Apr 12 17:37:01 2001 >@@ -62,6 +62,7 @@ > #define DNICHOST "whois.nic.mil" > #define GNICHOST "whois.nic.gov" > #define ANICHOST "whois.arin.net" >+#define AUNICHOST "whois.aunic.net" > #define RNICHOST "whois.ripe.net" > #define PNICHOST "whois.apnic.net" > #define RUNICHOST "whois.ripn.net" >@@ -96,7 +97,7 @@ > qnichost = NULL; > flags = 0; > use_qnichost = 0; >- while ((ch = getopt(argc, argv, "adgh:impQrR6")) != -1) { >+ while ((ch = getopt(argc, argv, "adgh:impQrRu6")) != -1) { > switch((char)ch) { > case 'a': > host = ANICHOST; >@@ -128,6 +129,9 @@ > case 'R': > host = RUNICHOST; > break; >+ case 'u': >+ host = AUNICHOST; >+ break; > case '6': > host = SNICHOST; > break; >@@ -292,6 +296,6 @@ > usage() > { > (void)fprintf(stderr, >- "usage: whois [-adgimpQrR6] [-h hostname] name ...\n"); >+ "usage: whois [-adgimpQrRu6] [-h hostname] name ...\n"); > exit(EX_USAGE); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 26521
: 14079