aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/netifd/files
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-04-17 13:10:19 +0000
committerSteven Barth <cyrus@openwrt.org>2015-04-17 13:10:19 +0000
commit6b062ad8485c759b94e03d2639097684096b7ab1 (patch)
treeb770b7c4449b6e3715700792380542a9e79f554e /package/network/config/netifd/files
parentd86d0bf7ea2e8bd6ab2658390a06156bbe1a1ffc (diff)
downloadupstream-6b062ad8485c759b94e03d2639097684096b7ab1.tar.gz
upstream-6b062ad8485c759b94e03d2639097684096b7ab1.tar.bz2
upstream-6b062ad8485c759b94e03d2639097684096b7ab1.zip
network: shorten names of generated interfaces
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45476
Diffstat (limited to 'package/network/config/netifd/files')
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/dhcp.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script
index a3219a0701..fb9f95a517 100755
--- a/package/network/config/netifd/files/lib/netifd/dhcp.script
+++ b/package/network/config/netifd/files/lib/netifd/dhcp.script
@@ -57,7 +57,7 @@ setup_interface () {
local ip6rdbr="${ip6rd%% *}"
[ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE)
- [ -z "$IFACE6RD" -o "$IFACE6RD" = 1 ] && IFACE6RD=${INTERFACE}_6rd
+ [ -z "$IFACE6RD" -o "$IFACE6RD" = 1 ] && IFACE6RD=${INTERFACE}_6
json_init
json_add_string name "$IFACE6RD"