Get rid of ugly quotes on "Accept:" log messages.

This commit is contained in:
Avery Pennarun
2010-12-31 20:53:42 -08:00
parent 41fd0348eb
commit 91f65132be
2 changed files with 5 additions and 5 deletions

View File

@ -155,8 +155,8 @@ def _main(listener, fw, ssh_cmd, remotename, python, seed_hosts, auto_nets):
def onaccept():
sock,srcip = listener.accept()
dstip = original_dst(sock)
debug1('Accept: %r:%r -> %r:%r.\n' % (srcip[0],srcip[1],
dstip[0],dstip[1]))
debug1('Accept: %s:%r -> %s:%r.\n' % (srcip[0],srcip[1],
dstip[0],dstip[1]))
if dstip == listener.getsockname():
debug1("-- ignored: that's my address!\n")
sock.close()