diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-23 22:37:52 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-23 22:37:52 +0000 |
commit | 2eac3af461c070dec526409a37f1f705f7132e05 (patch) | |
tree | ff6e290bbf697c872f4d0ecc3300319c08e1201c /etc/inc/interfaces.inc | |
parent | f2dd75680ee113f59171102d2b49608f096d23c1 (diff) | |
download | pfsense-2eac3af461c070dec526409a37f1f705f7132e05.zip pfsense-2eac3af461c070dec526409a37f1f705f7132e05.tar.gz |
Fix linking interface to vlans function so it works correctly.
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 9941a56..767a9e2 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_int == $vlan['if']) { + if ($real_if == $vlan['if']) { if ($action == "update") { foreach ($config['interfaces'] as $ifname => $ifcfg) { if ($ifcfg['if'] == $vlan['vlanif']) |