3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 03:33:10 +01:00

nefarious: set realhost = displayed host

This commit is contained in:
James Lu 2016-04-14 17:31:51 -07:00
parent 5796b75373
commit 8ba0412ece

View File

@ -349,7 +349,7 @@ class P10Protocol(Protocol):
ts, ident, host = args[2:5]
# XXX: Is realhost ever sent?
realhost = None
realhost = host
# Thanks to Jobe @ evilnet for the code on what to do here. :) -GL
ip = args[-3]