summaryrefslogtreecommitdiffstats
path: root/module/forwarder.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/forwarder.py')
-rw-r--r--module/forwarder.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/module/forwarder.py b/module/forwarder.py
index 52d2afd71..3cb3a7748 100644
--- a/module/forwarder.py
+++ b/module/forwarder.py
@@ -59,13 +59,3 @@ def forward(source, destination):
else:
#source.shutdown(socket.SHUT_RD)
destination.shutdown(socket.SHUT_WR)
-
-if __name__ == "__main__":
- args = argv[1:]
- if not args:
- print "Usage: forwarder.py <remote ip> <remote port>"
- exit()
- if len(args) == 1:
- args.append(9666)
-
- f = Forwarder(args[0], int(args[1]))