cmdmon: don't require bound UDP socket

Don't abort on start when no UDP socket could be opened/bound for
cmdmon. The Unix socket is more important and with the IP_FREEBIND
option this case was not caught anyway.
This commit is contained in:
Miroslav Lichvar 2019-07-09 14:48:42 +02:00
parent 2270234115
commit 8cb689a5e6

View file

@ -313,14 +313,6 @@ CAM_Initialise(int family)
sock_fd6 = -1; sock_fd6 = -1;
#endif #endif
if (port_number && sock_fd4 < 0
#ifdef FEAT_IPV6
&& sock_fd6 < 0
#endif
) {
LOG_FATAL("Could not open any command socket");
}
access_auth_table = ADF_CreateTable(); access_auth_table = ADF_CreateTable();
} }