mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
interfaces: further changes in slaac pursuit
This commit is contained in:
parent
bc6340f167
commit
6b8fc100e4
@ -2403,10 +2403,6 @@ function interface_configure($verbose = false, $interface = 'wan', $reload = fal
|
||||
|
||||
/* Disable Accepting router advertisements unless specifically requested */
|
||||
mwexecf('/sbin/ifconfig %s inet6 -accept_rtadv', array($realif));
|
||||
$realifv6 = get_real_interface($interface, 'inet6');
|
||||
if ($realifv6 != $realif) {
|
||||
mwexecf('/sbin/ifconfig %s inet6 -accept_rtadv', array($realifv6));
|
||||
}
|
||||
|
||||
/* wireless configuration? */
|
||||
if (isset($wancfg['wireless']) && is_array($wancfg['wireless']) && !$linkupevent) {
|
||||
@ -2450,7 +2446,7 @@ function interface_configure($verbose = false, $interface = 'wan', $reload = fal
|
||||
mwexec($cmd);
|
||||
}
|
||||
}
|
||||
// apply interface hardware settings (tso, lro, ..)
|
||||
/* apply interface hardware settings (tso, lro, ..) */
|
||||
configure_interface_hardware($realhwif);
|
||||
|
||||
/* XXX kludge for now related to #3280 */
|
||||
@ -2507,6 +2503,12 @@ function interface_configure($verbose = false, $interface = 'wan', $reload = fal
|
||||
}
|
||||
}
|
||||
|
||||
/* Disable Accepting router advertisements unless specifically requested */
|
||||
$realifv6 = get_real_interface($interface, 'inet6');
|
||||
if ($realifv6 != $realif) {
|
||||
mwexecf('/sbin/ifconfig %s inet6 -accept_rtadv', array($realifv6));
|
||||
}
|
||||
|
||||
$intf_stats = legacy_interface_stats();
|
||||
if (!empty($wancfg['mtu'])) {
|
||||
if (stristr($realif, "_vlan")) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user