Bug #2010 » int_family.patch
| etc/inc/interfaces.inc 2011-11-16 18:46:37.000000000 +0000 | ||
|---|---|---|
|
"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;
|
||