names are short
This commit is contained in:
@@ -491,7 +491,7 @@ def readsock(sock):
|
|||||||
else:
|
else:
|
||||||
oldclient = False
|
oldclient = False
|
||||||
if verbose: print "readsock = %s, %s" % (msg,addr)
|
if verbose: print "readsock = %s, %s" % (msg,addr)
|
||||||
name = msg.get('name', "unknown")
|
name = shortname(msg.get('name', "unknown"))
|
||||||
if not name in hosts: # was: hosts.has_key(name):
|
if not name in hosts: # was: hosts.has_key(name):
|
||||||
host = Host(name)
|
host = Host(name)
|
||||||
newh=True
|
newh=True
|
||||||
|
|||||||
Reference in New Issue
Block a user