diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index e32bea059..35fde30db 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -214,7 +214,11 @@ EOD; $gwifip = find_interface_ipv6($gateway['interface'], true); } } - + + /* Make sure srcip has scope defined when it's ll */ + if (is_linklocal($gwifip) && !strstr($gwifip, '%')) + $gwifip .= '%' . $gateway['interface']; + if (!is_ipaddrv6($gwifip)) continue; //Skip this target