summaryrefslogtreecommitdiff
path: root/anyctr.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-02-29 18:56:43 +0000
committerOthmar Gsenger <otti@anytun.org>2008-02-29 18:56:43 +0000
commit11a214c7383b5cce7d65d5458876ff1cc17910b7 (patch)
tree510ca072af2cd76dc7d45cf938abe2a47e7128f1 /anyctr.cpp
parentadded routing table (diff)
fixed anyctr without remote connection
Diffstat (limited to 'anyctr.cpp')
-rw-r--r--anyctr.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/anyctr.cpp b/anyctr.cpp
index aaecbc0..ef5b7f0 100644
--- a/anyctr.cpp
+++ b/anyctr.cpp
@@ -96,10 +96,7 @@ int main(int argc, char* argv[])
ConnectionList cl;
SyncQueue queue;
- if(gOpt.getRemoteAddr() != "")
- {
- createConnection(gOpt.getRemoteAddr(),gOpt.getRemotePort(),cl,gOpt.getSeqWindowSize(), queue, gOpt.getMux());
- }
+ createConnection(gOpt.getRemoteAddr(),gOpt.getRemotePort(),cl,gOpt.getSeqWindowSize(), queue, gOpt.getMux());
return ret;
}