Revision 02091d23
Added by Seth Mos almost 14 years ago
etc/inc/system.inc | ||
---|---|---|
417 | 417 |
if(preg_match("/fe80::/i", $gatewayipv6)) |
418 | 418 |
$ifscope = "%{$defaultifv6}"; |
419 | 419 |
log_error("ROUTING: setting IPv6 default route to {$gatewayipv6}{$ifscope}"); |
420 |
mwexec("/sbin/route change -inet6 default " . escapeshellarg($gatewayipv6) ."$ifscope");
|
|
420 |
mwexec("/sbin/route change -inet6 default " . escapeshellarg($gatewayipv6) ."{$ifscope}");
|
|
421 | 421 |
} |
422 | 422 |
} |
423 | 423 |
|
Also available in: Unified diff
Encapsulate in curlies for safety