diff --git a/net/vlan.sh b/net/vlan.sh index 48838ef8..d54adeb9 100644 --- a/net/vlan.sh +++ b/net/vlan.sh @@ -87,7 +87,7 @@ vlan_post_start() # We need to work out the interface name of our new vlan id local ifname="$(sed -n -e \ - 's/^\([^[:space:]]*\) *| '"${vlan}"' *| .*'"${iface}"'$/\1/p' \ + 's/^\([^[:space:]]*\) *| '"${vlan}"' *| .*'"${IFACE}"'$/\1/p' \ /proc/net/vlan/config )" mark_service_started "net.${ifname}" (