From e9c57fd59bf4a2488be8e0f362dd1a7e1f6486ff Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 21 Jul 2022 13:52:30 +0200 Subject: [PATCH] dhcp: note about staticarp behaviour --- src/etc/inc/plugins.inc.d/dhcpd.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/etc/inc/plugins.inc.d/dhcpd.inc b/src/etc/inc/plugins.inc.d/dhcpd.inc index 9df42c9ab..f9c4a9eb6 100644 --- a/src/etc/inc/plugins.inc.d/dhcpd.inc +++ b/src/etc/inc/plugins.inc.d/dhcpd.inc @@ -560,6 +560,11 @@ function dhcpd_dhcp4_configure($verbose = false) killbypid('/var/dhcpd/var/run/dhcpd.pid', 'TERM', true); if (!dhcpd_dhcpv4_enabled()) { + /* + * XXX If there is no enabled server interfaces_staticarp_configure() + * is not executed as documented. This likely does not matter, but + * since it came up as odd in testing make a note here for the future. + */ return; }