summaryrefslogtreecommitdiffhomepage
path: root/src/conf.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-06 23:56:41 +0100
committerMichael Adam <obnox@samba.org>2009-12-07 00:22:52 +0100
commit4c0a4d985f6067a4235bd6cf38f704f28d4858f0 (patch)
tree431aa289c1cb7dba80d7c0e1f3371d03322d8d22 /src/conf.c
parentc981b246ce2b0b9c3cee5878d0cbefffb8fc2370 (diff)
Add connect_ports list to config struct instead of keeping extra global var.
Michael
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c
index 47d8962..13b30d1 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -601,7 +601,8 @@ static HANDLE_FUNC (handle_timeout)
static HANDLE_FUNC (handle_connectport)
{
- add_connect_port_allowed (get_int_arg (line, &match[2]));
+ add_connect_port_allowed (get_int_arg (line, &match[2]),
+ &conf->connect_ports);
return 0;
}