whois: make it actually work
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 6 Jul 2016 13:45:41 +0000 (15:45 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 6 Jul 2016 13:45:41 +0000 (15:45 +0200)
commit1035c92e2d1c017eab7cb10badb7e3b407aeba2d
treee4e3dc6b3c136196aad1d27db28b846b977b5037
parentf4f8fe841cf2df761eaade204a13e6fde6639666
whois: make it actually work

It was doing way too simplistic work of just querying the server,
no redirects, no query massaging. This required user to know a lot about whois,
and enter at least three queries for each host to get meaningful information.

function                                             old     new   delta
whois_main                                           209     646    +437

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/whois.c