mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 10:06:25 +01:00
Introduce $RA_SERVER to set default whois server.
Requested by: nork Reviewed by: nork MFC after: 1 week
This commit is contained in:
parent
fe01740653
commit
f35f40c51f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267871
@ -179,10 +179,12 @@ main(int argc, char *argv[])
|
|||||||
* back to NICHOST.
|
* back to NICHOST.
|
||||||
*/
|
*/
|
||||||
if (host == NULL && country == NULL) {
|
if (host == NULL && country == NULL) {
|
||||||
use_qnichost = 1;
|
if ((host = getenv("RA_SERVER")) == NULL) {
|
||||||
host = NICHOST;
|
use_qnichost = 1;
|
||||||
if (!(flags & WHOIS_QUICK))
|
host = NICHOST;
|
||||||
flags |= WHOIS_RECURSE;
|
if (!(flags & WHOIS_QUICK))
|
||||||
|
flags |= WHOIS_RECURSE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
while (argc-- > 0) {
|
while (argc-- > 0) {
|
||||||
if (country != NULL) {
|
if (country != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user