add event names
This commit is contained in:
parent
c721a1c02f
commit
f49d086d6a
3 changed files with 60 additions and 27 deletions
|
@ -22,7 +22,6 @@
|
|||
# SOFTWARE.
|
||||
|
||||
import sys
|
||||
import socket
|
||||
import os
|
||||
import logging
|
||||
import encrypt
|
||||
|
@ -50,6 +49,7 @@ def main():
|
|||
logging.info("starting local at %s:%d" %
|
||||
(config['local_address'], config['local_port']))
|
||||
|
||||
# TODO combine the two threads into one loop on a single thread
|
||||
udprelay.UDPRelay(config, True).start()
|
||||
tcprelay.TCPRelay(config, True).start()
|
||||
while sys.stdin.read():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue