diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-23 22:37:24 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-23 22:37:24 +0000 |
commit | f2dd75680ee113f59171102d2b49608f096d23c1 (patch) | |
tree | 0c811c6502df019dd7a6976c089f3bc9f4269a0c /etc/inc/interfaces.inc | |
parent | 930595154ccc8702befdd880f1c424b78040af2a (diff) | |
download | pfsense-f2dd75680ee113f59171102d2b49608f096d23c1.zip pfsense-f2dd75680ee113f59171102d2b49608f096d23c1.tar.gz |
Revert "Fix linking interface to vlans function so it works correctly."
This reverts commit 930595154ccc8702befdd880f1c424b78040af2a.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 767a9e2..9941a56 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2584,7 +2584,7 @@ function link_interface_to_vlans($int, $action = "") { $real_if = get_real_interface($int); if (is_array($config['vlans']['vlan'])) { foreach ($config['vlans']['vlan'] as $vlan) { - if ($real_if == $vlan['if']) { + if ($real_int == $vlan['if']) { if ($action == "update") { foreach ($config['interfaces'] as $ifname => $ifcfg) { if ($ifcfg['if'] == $vlan['vlanif']) |