Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
wesyoung committed Mar 15, 2015
1 parent 828c685 commit fcc4063
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rdp.tac
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ class TerminalServices(Protocol):
logger.info("\tLogin: %s" % x224_data[6:])
if (lastTS != self.transport.getPeer().host):
lastTS = self.transport.getPeer().host
thread.start_new_thread(log_it, (self.transport.getPeer().host))
thread.start_new_thread(log_it, (self.transport.getPeer(),))
else:
log.msg("\tX224 Unrecognized code:")
self.transport.loseConnection()
if (lastTS != self.transport.getPeer().host):
lastTS = self.transport.getPeer().host
thread.start_new_thread(log_it, (self.transport.getPeer().host))
thread.start_new_thread(log_it, (self.transport.getPeer(),))
else:
log.msg("Data inconsistent... dropping connection.")
self.transport.loseConnection()
Expand Down

0 comments on commit fcc4063

Please sign in to comment.