dpinger: style issue

This commit is contained in:
Franco Fichtner 2022-11-13 11:33:53 +01:00
parent 0e86e27eb9
commit d463abc80f

View File

@ -130,7 +130,7 @@ function dpinger_instances($ifconfig_details = null)
* then the ICMP6 response would not find its way back home.
*/
if (is_linklocal($gateway['monitor']) && strpos($gateway['monitor'], '%') === false) {
$gateway['monitor'] .= '%' . get_real_interface($gateway['interface'], 'inet6');
$gateway['monitor'] .= '%' . get_real_interface($gateway['interface'], 'inet6');
}
if (is_linklocal($gateway['gateway']) && strpos($gateway['gateway'], '%') === false) {
$gateway['gateway'] .= '%' . get_real_interface($gateway['interface'], 'inet6');