Project

General

Profile

« Previous | Next » 

Revision 7513352b

Added by Ermal LUÇI over 14 years ago

merge the dynamic obtained result with the static maintained list to not avoid strange problems as in Ticket #1123.

View differences:

etc/inc/globals.inc
110 110

  
111 111
// Loop through and set vlan_long_frame VLAN_MTU
112 112
$vlan_native_supp = get_nics_with_capabilities("vlanmtu");
113
if(count($vlan_native_supp) > 0)
114
	$g['vlan_long_frame'] = $vlan_native_supp;
115
else 
116
	$g['vlan_long_frame'] = array("vge", "bfe",  "bge",  "dc",  "em",  "fxp",  "gem",  "hme",  "ixgb",  "le", "lem", "nge",  "re",  "rl",  "sis",  "sk",  "ste",  "ti",  "tl",  "tx",  "txp",  "vr", "xl", "lagg");
113
$g['vlan_long_frame'] = array_merge(array("vge", "bfe",  "bge",  "dc",  "em",  "fxp",  "gem",  "hme",  "ixgb",  "le", "lem", "nge",  "re",  "rl",  "sis",  "sk",  "ste",  "ti",  "tl",  "tx",  "txp",  "vr", "xl", "lagg"), $vlan_native_support);
117 114

  
118 115
/* IP TOS flags */
119 116
$iptos = array("lowdelay", "throughput", "reliability");

Also available in: Unified diff