diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-27 23:30:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-27 23:30:46 +0000 |
commit | 52ea4f45fc3a7465fc0c1bd6c5fead71497aac2c (patch) | |
tree | f8fc37c438a82048e5daa72e6c8c0fd1384c189d | |
parent | e7aa75604fc8d56cc9ca7bfee40bab222f6c2fcb (diff) | |
download | pfsense-52ea4f45fc3a7465fc0c1bd6c5fead71497aac2c.zip pfsense-52ea4f45fc3a7465fc0c1bd6c5fead71497aac2c.tar.gz |
Test for jumbo frames correctly (VLAN)
-rw-r--r-- | etc/inc/config.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 48b15c1..0aaec89 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1204,8 +1204,7 @@ EOD; } else { $vlan_capable=0; foreach ($iflist as $iface => $ifa) { - if (array_key_exists($vlan['if'], $iflist) or - is_jumbo_capable($vlan['if'])) { + if (is_jumbo_capable($ifa)) { echo sprintf("% -8s%s%s\n", $iface, $ifa['mac'], $ifa['up'] ? " (up)" : ""); $vlan_capable++; |