Project

General

Profile

Bug #2010 » int_family.patch

Andre Keller, 11/16/2011 12:49 PM

View differences:

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;
(1-1/3)