aboutsummaryrefslogtreecommitdiff
path: root/net/vlan.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/vlan.sh')
-rw-r--r--net/vlan.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/vlan.sh b/net/vlan.sh
index 458cb2d9..10040afa 100644
--- a/net/vlan.sh
+++ b/net/vlan.sh
@@ -71,7 +71,7 @@ vlan_post_start()
[ -z "${vname}" ] && vname="${IFACE}.${vlan}"
# 2) flags
eval vflags=\$${IFACE}_vlan${vlan}_flags
- [ -z "${vname}" ] && eval vflags=\$vlan${vlan}_flags
+ [ -z "${vflags}" ] && eval vflags=\$vlan${vlan}_flags
# 3) ingress/egress map
eval vingress=\$${IFACE}_vlan${vlan}_ingress
[ -z "${vingress}" ] && eval vingress=\$vlan${vlan}_ingress