From 8cb689a5e638465023380971cd93b81a9a592116 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 9 Jul 2019 14:48:42 +0200 Subject: [PATCH] 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. --- cmdmon.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmdmon.c b/cmdmon.c index 3b4277a..79b77aa 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(); }