diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-07-22 14:23:14 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-07-22 14:23:14 +0000 |
commit | bcd1e78ca272be770144269a16fab2027ea32b48 (patch) | |
tree | 391cd22a23251f45ab2ecf50af6ac32683cd6a81 /usr.bin/whois | |
parent | a22210d5d06467ea4ad1f935fe012848b4324a93 (diff) |
for .de domains, we need to send more shit to the denic whois server so
that idn domains are handled correctly...
Diffstat (limited to 'usr.bin/whois')
-rw-r--r-- | usr.bin/whois/whois.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/whois/whois.c b/usr.bin/whois/whois.c index c6fe04aa4e7..769ef9313d5 100644 --- a/usr.bin/whois/whois.c +++ b/usr.bin/whois/whois.c @@ -1,4 +1,4 @@ -/* $OpenBSD: whois.c,v 1.35 2005/06/27 21:01:43 henning Exp $ */ +/* $OpenBSD: whois.c,v 1.36 2005/07/22 14:23:13 henning Exp $ */ /* * Copyright (c) 1980, 1993 @@ -195,7 +195,7 @@ whois(const char *query, const char *server, const char *port, int flags) if (strcmp(server, "whois.denic.de") == 0 || strcmp(server, "de.whois-servers.net") == 0) - fmt = "-T dn %s\r\n"; + fmt = "-T dn,ace -C ISO-8859-1 %s\r\n"; else fmt = "%s\r\n"; |