summaryrefslogtreecommitdiff
path: root/src/cfg_parser.rl
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2010-12-09 20:49:35 +0000
committerChristian Pointner <equinox@spreadspace.org>2010-12-09 20:49:35 +0000
commit78c841168b3e018f472fb55e7c2d65c8e152ef56 (patch)
treec91be01511f4e7b11ced6cbccdfa3db74d8b6ed0 /src/cfg_parser.rl
parentintroduced listener states (diff)
listner_ vs listeners_
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@42 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'src/cfg_parser.rl')
-rw-r--r--src/cfg_parser.rl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_parser.rl b/src/cfg_parser.rl
index ad11b08..c215a83 100644
--- a/src/cfg_parser.rl
+++ b/src/cfg_parser.rl
@@ -107,7 +107,7 @@ static int owrt_string(char** dest, char* start, char* end)
action set_remote_resolv6 { lst.rrt_ = IPV6_ONLY; }
action set_source_addr { ret = owrt_string(&(lst.sa_), cpy_start, fpc); cpy_start = NULL; }
action add_listener {
- ret = listener_add(listener, lst.la_, lst.lrt_, lst.lp_, lst.ra_, lst.rrt_, lst.rp_, lst.sa_);
+ ret = listeners_add(listener, lst.la_, lst.lrt_, lst.lp_, lst.ra_, lst.rrt_, lst.rp_, lst.sa_);
clear_listener_struct(&lst);
}