From: Miroslav Lichvar Date: Tue, 9 Jul 2019 12:48:42 +0000 (+0200) Subject: cmdmon: don't require bound UDP socket X-Git-Tag: 4.0-pre1~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cb689a5e638465023380971cd93b81a9a592116;p=thirdparty%2Fchrony.git 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. --- diff --git a/cmdmon.c b/cmdmon.c index 3b4277a3..79b77aa5 100644 --- a/cmdmon.c +++ b/cmdmon.c @@ -313,14 +313,6 @@ CAM_Initialise(int family) sock_fd6 = -1; #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(); }