network: shorten names of generated interfaces
authorSteven Barth <cyrus@openwrt.org>
Fri, 17 Apr 2015 13:10:19 +0000 (13:10 +0000)
committerSteven Barth <cyrus@openwrt.org>
Fri, 17 Apr 2015 13:10:19 +0000 (13:10 +0000)
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45476

package/network/config/netifd/Makefile
package/network/config/netifd/files/lib/netifd/dhcp.script
package/network/ipv6/ds-lite/Makefile
package/network/ipv6/ds-lite/files/dslite.sh
package/network/ipv6/odhcp6c/Makefile
package/network/ipv6/odhcp6c/files/dhcpv6.script

index 622bc15668e4b60dcf2ce69024342781fee94b2e..3b30d567f6aa24b4d6174cb9da63db13cb692b34 100644 (file)
@@ -1,13 +1,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netifd
-PKG_VERSION:=2015-04-09
+PKG_VERSION:=2015-04-17
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=http://git.openwrt.org/project/netifd.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=92d2aea918f650f309f753349457028032d53280
+PKG_SOURCE_VERSION:=8b468ec5022834d04b6be1cf45b4fe4f092c692e
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
 # PKG_MIRROR_MD5SUM:=
index a3219a0701adf40e79d2fe6143a56540014b2b25..fb9f95a5176ceba9b5251fe6d84d0e8ce58d94a9 100755 (executable)
@@ -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"
index 79b49feec38a8d4211a5d011b376f2b38e51d0c6..a232a1c58d6aa6845413ae7b5fc9175b007beccb 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ds-lite
-PKG_VERSION:=5
+PKG_VERSION:=6
 PKG_RELEASE:=1
 PKG_LICENSE:=GPL-2.0
 
index 7b686390b3e8bec03dc8f28bf0f5059869a3c691..e849b15b94e0c8fe6c54c28d5a506f01c83e5682 100755 (executable)
@@ -12,7 +12,7 @@
 proto_dslite_setup() {
        local cfg="$1"
        local iface="$2"
-       local link="dslite-$cfg"
+       local link="ds-$cfg"
 
        local mtu ttl peeraddr ip6addr tunlink zone weakif
        json_get_vars mtu ttl peeraddr ip6addr tunlink zone weakif
index 283baa5aa24ac01e2208926922eeac481544f7b1..21fdc39677c3fce3f715b8ab9a526ee66c99d7c1 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=odhcp6c
-PKG_VERSION:=2015-04-15
+PKG_VERSION:=2015-04-17
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
index 515bee32b4c79896fc5834db821730c80ad5f25f..5f3ff1546eae12305d3292e162171b15bb6f5c41 100755 (executable)
@@ -122,7 +122,7 @@ setup_interface () {
        [ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE)
 
        if [ "$IFACE_MAP" != 0 -a -n "$MAPTYPE" -a -n "$MAPRULE" ]; then
-               [ -z "$IFACE_MAP" -o "$IFACE_MAP" = 1 ] && IFACE_MAP=${INTERFACE}_map
+               [ -z "$IFACE_MAP" -o "$IFACE_MAP" = 1 ] && IFACE_MAP=${INTERFACE}_4
                json_init
                json_add_string name "$IFACE_MAP"
                json_add_string ifname "@$INTERFACE"
@@ -136,7 +136,7 @@ setup_interface () {
                json_close_object
                ubus call network add_dynamic "$(json_dump)"
        elif [ -n "$AFTR" -a "$IFACE_DSLITE" != 0 -a -f /lib/netifd/proto/dslite.sh ]; then
-               [ -z "$IFACE_DSLITE" -o "$IFACE_DSLITE" = 1 ] && IFACE_DSLITE=${INTERFACE}_dslite
+               [ -z "$IFACE_DSLITE" -o "$IFACE_DSLITE" = 1 ] && IFACE_DSLITE=${INTERFACE}_4
                json_init
                json_add_string name "$IFACE_DSLITE"
                json_add_string ifname "@$INTERFACE"
@@ -149,7 +149,7 @@ setup_interface () {
                json_close_object
                ubus call network add_dynamic "$(json_dump)"
        elif [ "$IFACE_464XLAT" != 0 -a -f /lib/netifd/proto/464xlat.sh ]; then
-               [ -z "$IFACE_464XLAT" -o "$IFACE_464XLAT" = 1 ] && IFACE_464XLAT=${INTERFACE}_464xlat
+               [ -z "$IFACE_464XLAT" -o "$IFACE_464XLAT" = 1 ] && IFACE_464XLAT=${INTERFACE}_4
                json_init
                json_add_string name "$IFACE_464XLAT"
                json_add_string ifname "@$INTERFACE"