diff options
author | Steven Barth <cyrus@openwrt.org> | 2015-04-17 13:10:19 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2015-04-17 13:10:19 +0000 |
commit | 6b062ad8485c759b94e03d2639097684096b7ab1 (patch) | |
tree | b770b7c4449b6e3715700792380542a9e79f554e /package/network/config/netifd/files | |
parent | d86d0bf7ea2e8bd6ab2658390a06156bbe1a1ffc (diff) | |
download | upstream-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-x | package/network/config/netifd/files/lib/netifd/dhcp.script | 2 |
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" |