From 9c0b50aa63dd20926af44ceedf01bc51704771bf Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 25 Nov 2024 13:38:52 +0100 Subject: [PATCH] system: kill this comment annotating code that does not reall exist anymore --- src/etc/inc/plugins.inc.d/dpinger.inc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/etc/inc/plugins.inc.d/dpinger.inc b/src/etc/inc/plugins.inc.d/dpinger.inc index 722f29a8c..32a339307 100644 --- a/src/etc/inc/plugins.inc.d/dpinger.inc +++ b/src/etc/inc/plugins.inc.d/dpinger.inc @@ -166,15 +166,6 @@ function dpinger_configure_do($verbose = false, $gwname_map = null) $gwifip = null; - /* - * Interface IP is needed since dpinger will bind a socket to it. - * However the config GUI should already have checked this and when - * PPPoE is used the IP address is set to "dynamic". So using - * is_ipaddrv4() or is_ipaddrv6() to identify packet type would be - * wrong, especially as further checks (that can cope with the - * "dynamic" case) are present inside the if block. So using - * $gateway['ipprotocol'] is the better option. - */ if ($gateway['ipprotocol'] == 'inet') { if (is_ipaddrv4($gateway['gateway'])) { foreach (interfaces_addresses($gateway['interface'], false, $ifconfig_details) as $addr) {