<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Without this code on lines 79 to 91:<br>
<br>
<tt> if (!success && !pfx[0]) {</tt><tt><br>
</tt><tt> /*</tt><tt><br>
</tt><tt> * Looking at /etc/jwhois.conf, some whois servers
use</tt><tt><br>
</tt><tt> * "domain = DOMAIN", "DOMAIN ID <DOMAIN>"</tt><tt><br>
</tt><tt> * and "domain=DOMAIN_WITHOUT_LAST_COMPONENT"</tt><tt><br>
</tt><tt> * formats, but those are rare.</tt><tt><br>
</tt><tt> * (There are a few even more contrived ones.)</tt><tt><br>
</tt><tt> * We are trying only "domain DOMAIN", the typical
one.</tt><tt><br>
</tt><tt> */</tt><tt><br>
</tt><tt> pfx = "domain ";</tt><tt><br>
</tt><tt> bufpos = 0;</tt><tt><br>
</tt><tt> goto again;</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><br>
whois.c starts working for IP address queries without affecting
domain name queries as the user can specify this prefix on the
command line.<br>
<br>
<br>
</body>
</html>