diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 87bbdb211..1b4de5e26 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -518,7 +518,7 @@ function system_routing_configure($interface = "") { ; else if (is_ipaddrv6($gatewayipv6)) { $ifscope = ""; - if (is_linklocal($gatewayipv6)) + if (is_linklocal($gatewayipv6) && !strpos($gatewayipv6, '%')) $ifscope = "%{$defaultifv6}"; log_error("ROUTING: setting IPv6 default route to {$gatewayipv6}{$ifscope}"); mwexec("/sbin/route change -inet6 default " . escapeshellarg("{$gatewayipv6}{$ifscope}"));