aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mierswa <impulze@impulze.org>2009-12-30 21:02:08 +0100
committerRoy Marples <roy@marples.name>2009-12-31 07:21:59 +0000
commitf434c902a521deb3e6d057c3ffa4c11f9875a81b (patch)
treeb344b121a08e918de6b5566f14223e7aad48b157
parent5ec2efaff29a02d624d84439dd47d30a3babf5c1 (diff)
Use IFACE variable instead of iface.
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
-rw-r--r--net/vlan.sh2
1 files changed, 1 insertions, 1 deletions
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}"
(