From c1b9a31ee6b6635ff2d2df9c26850c4361504dae Mon Sep 17 00:00:00 2001
From: Daniel Mierswa <impulze@impulze.org>
Date: Wed, 30 Dec 2009 21:02:08 +0100
Subject: [PATCH] Use IFACE variable instead of iface.
Signed-off-by: Daniel Mierswa <impulze@impulze.org>
---
net/vlan.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/vlan.sh b/net/vlan.sh
index 48838ef..d54adeb 100644
a
|
b
|
vlan_post_start() |
87 | 87 | |
88 | 88 | # We need to work out the interface name of our new vlan id |
89 | 89 | local ifname="$(sed -n -e \ |
90 | | 's/^\([^[:space:]]*\) *| '"${vlan}"' *| .*'"${iface}"'$/\1/p' \ |
| 90 | 's/^\([^[:space:]]*\) *| '"${vlan}"' *| .*'"${IFACE}"'$/\1/p' \ |
91 | 91 | /proc/net/vlan/config )" |
92 | 92 | mark_service_started "net.${ifname}" |
93 | 93 | ( |