Bug #2010 » interfaces.patch
| /etc/inc/interfaces.inc 2011-11-16 19:03:59.000000000 +0000 | ||
|---|---|---|
|
if (!empty($wancfg['mtu']))
|
||
|
pfSense_interface_mtu($realhwif, $wancfg['mtu']);
|
||
|
else {
|
||
|
$mtu = get_interface_default_mtu(remove_numbers($realhwif));
|
||
|
$mtu = get_interface_default_mtu(remove_ifindex($realhwif));
|
||
|
if ($mtu != get_interface_mtu($realhwif))
|
||
|
pfSense_interface_mtu($realhwif, $mtu);
|
||
|
}
|
||
| ... | ... | |
|
"ndis", "tun", "ovpns", "ovpnc", "vlan", "pppoe", "pptp", "ng",
|
||
|
"l2tp", "ppp");
|
||
|
$int_family = preg_split("/[0-9]+/", $int);
|
||
|
$int_family = preg_split("/[0-9]+$/", $int);
|
||
|
if (in_array($int_family[0], $capable))
|
||
|
return true;
|
||
| ... | ... | |
|
function is_jumbo_capable($int) {
|
||
|
global $g;
|
||
|
$int_family = preg_split("/[0-9]+/", $int);
|
||
|
$int_family = preg_split("/[0-9]+$/", $int);
|
||
|
if (in_array($int_family[0], $g['vlan_long_frame']))
|
||
|
return true;
|
||
- « Previous
- 1
- 2
- 3
- Next »