diff options
author | 2005-07-22 14:23:13 +0000 | |
---|---|---|
committer | 2005-07-22 14:23:13 +0000 | |
commit | 04bb58901b109cf1c53c2cae279e5616dc2ab0c4 (patch) | |
tree | 1c36548a7074fa2e49ce5735fee21d1ec9c25e42 | |
parent | Reading the IEEE specs shows that the bits have to be reversed when (diff) | |
download | wireguard-openbsd-04bb58901b109cf1c53c2cae279e5616dc2ab0c4.tar.xz wireguard-openbsd-04bb58901b109cf1c53c2cae279e5616dc2ab0c4.zip |
for .de domains, we need to send more shit to the denic whois server so
that idn domains are handled correctly...
-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"; |