Skip to content

Commit

Permalink
system: backport change from 22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jan 11, 2022
1 parent 3f51652 commit 9ac916c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/plugins.inc.d/dpinger.inc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function dpinger_configure_do($verbose = false, $gwname = null)
$gwifip = find_interface_ipv6_ll($gateway['if'], $ifconfig_details);
} else {
/* monitor is a routable address, so use a routable address for the "src" part */
$gwifip = find_interface_ipv6($gateway['if'], $ifconfig_details);
list ($gwifip) = interfaces_primary_address6($gateway['interface'], null, $ifconfig_details);
}

if (!is_ipaddrv6($gwifip)) {
Expand Down

0 comments on commit 9ac916c

Please sign in to comment.