#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);
}