summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 99ab664..00c0750 100644
--- a/src/main.c
+++ b/src/main.c
@@ -430,8 +430,8 @@ main (int argc, char **argv)
#endif /* FILTER_ENABLE */
/* Start listening on the selected port. */
- if (child_listening_sock (config.ipAddr, config.port) < 0) {
- fprintf (stderr, "%s: Could not create listening socket.\n",
+ if (child_listening_sockets(config.listen_addrs, config.port) < 0) {
+ fprintf (stderr, "%s: Could not create listening sockets.\n",
argv[0]);
exit (EX_OSERR);
}