From 070d6215340379cbea7cc404ff4bb450a0ddea8b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 7 Nov 2013 14:30:35 +0100 Subject: child: add addr argument to child_listening_sock(). Signed-off-by: Michael Adam --- src/child.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/child.c') 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; } -- cgit v1.2.3