"IPv4Address.__getitem__ is deprecated. Use attributes instead." (yvesf)

git-svn-id: https://kippo.googlecode.com/svn/trunk@93 951d7100-d841-11de-b865-b3884708a8e2
This commit is contained in:
desaster
2009-12-07 05:37:30 +00:00
parent 70f20d600f
commit 113ec048ef

View File

@@ -139,7 +139,7 @@ class HoneyPotProtocol(recvline.HistoricRecvLine):
# You are in a maze of twisty little passages, all alike
p = self.terminal.transport.session.conn.transport.transport.getPeer()
self.clientIP = p[1]
self.clientIP = p.host
self.logintime = time.time()
def connectionLost(self, reason):