diff options
author | Michael Adam <obnox@samba.org> | 2013-11-07 14:30:35 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-11-09 13:34:33 +0100 |
commit | 070d6215340379cbea7cc404ff4bb450a0ddea8b (patch) | |
tree | b333b60740f99b92c4faffb06a23421eb61d1233 /src/child.c | |
parent | 2bd919f01e8303aa1efdf39af89132a6ab9388cb (diff) |
child: add addr argument to child_listening_sock().
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src/child.c')
-rw-r--r-- | src/child.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/child.c b/src/child.c index 3ed4030..144b032 100644 --- a/src/child.c +++ b/src/child.c @@ -464,9 +464,9 @@ void child_kill_children (int sig) } } -int child_listening_sock (uint16_t port) +int child_listening_sock (const char *addr, uint16_t port) { - listenfd = listen_sock (config.ipAddr, port); + listenfd = listen_sock (addr, port); return listenfd; } |