Commit 3ba98ae2 authored by Franco Fichtner's avatar Franco Fichtner

interfaces: hotfix regression; closes #806

(cherry picked from commit b563d1eb)
parent 565cd43d
...@@ -237,7 +237,6 @@ function interface_vlan_configure(&$vlan) ...@@ -237,7 +237,6 @@ function interface_vlan_configure(&$vlan)
} }
$if = $vlan['if']; $if = $vlan['if'];
$vlanif = empty($vlan['vlanif']) ? "{$if}_vlan{$vlan['tag']}" : $vlan['vlanif']; $vlanif = empty($vlan['vlanif']) ? "{$if}_vlan{$vlan['tag']}" : $vlan['vlanif'];
$tag = $vlan['tag'];
if (empty($if)) { if (empty($if)) {
log_error(gettext("interface_vlan_configure called with if undefined.")); log_error(gettext("interface_vlan_configure called with if undefined."));
...@@ -280,7 +279,7 @@ function interface_vlan_configure(&$vlan) ...@@ -280,7 +279,7 @@ function interface_vlan_configure(&$vlan)
legacy_netgraph_rename($tmpvlanif, $vlanif); legacy_netgraph_rename($tmpvlanif, $vlanif);
} }
legacy_vlan_tag($vlanif, $if, $tag); legacy_vlan_tag($vlanif, $if, $vlan['tag']);
interfaces_bring_up($vlanif); interfaces_bring_up($vlanif);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment