diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |