summaryrefslogtreecommitdiff
path: root/src/tcpproxy.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2010-12-02 22:25:46 +0000
committerChristian Pointner <equinox@spreadspace.org>2010-12-02 22:25:46 +0000
commiteb2b719951d3bb2994142f2821073f7f052cdd13 (patch)
tree622f96853e2de218d9911674d0cd3f19e4802d60 /src/tcpproxy.c
parentfixed handling of client read (diff)
removed useless source address resolving type option
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@23 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'src/tcpproxy.c')
-rw-r--r--src/tcpproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcpproxy.c b/src/tcpproxy.c
index 5423036..149fdf0 100644
--- a/src/tcpproxy.c
+++ b/src/tcpproxy.c
@@ -145,7 +145,7 @@ int main(int argc, char* argv[])
log_close();
exit(-1);
}
- ret = listener_add(&listeners, opt.local_addr_, opt.lresolv_type_, opt.local_port_, opt.remote_addr_, opt.rresolv_type_, opt.remote_port_, opt.source_addr_, opt.sresolv_type_);
+ ret = listener_add(&listeners, opt.local_addr_, opt.lresolv_type_, opt.local_port_, opt.remote_addr_, opt.rresolv_type_, opt.remote_port_, opt.source_addr_);
if(ret) {
listener_clear(&listeners);
options_clear(&opt);