# | Line 96 | Line 96 | class HostInit extends Thread { | |
---|---|---|
96 | throw new IOException("protocol error - expected:FQDN got:" + inBound); | |
97 | } | |
98 | else { | |
99 | < | try { |
100 | < | // try to send the fqdn to the host |
101 | < | _socketOut.println(_socket.getInetAddress().getHostName()); |
102 | < | } |
103 | < | catch(UnknownHostException e) { |
104 | < | // we failed for some reason |
105 | < | _socketOut.println("ERROR"); |
106 | < | } |
99 | > | // send the fqdn (of the host) to the host |
100 | > | _socketOut.println(_socket.getInetAddress().getHostName().toLowerCase()); |
101 | } | |
102 | ||
103 | // get properties |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |