mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
interfaces: pppX device can also set MTU
This commit is contained in:
parent
8f23d280c5
commit
7e37638825
@ -1284,11 +1284,8 @@ EOD;
|
||||
$ng_name = preg_replace('/[.:]/', '_', $ports[0]) . ':';
|
||||
mwexecf('/usr/sbin/ngctl msg %s setautosrc 1', [$ng_name]);
|
||||
/* FALLTHROUGH */
|
||||
case 'l2tp':
|
||||
case 'pptp':
|
||||
legacy_interface_mtu($ifcfg['if'], $mtus[0]);
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
legacy_interface_mtu($ifcfg['if'], $mtus[0]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user