Author: cyrus Date: 2015-04-30 14:43:46 +0200 (Thu, 30 Apr 2015) New Revision: 45590
Modified: trunk/package/network/ipv6/map/Makefile trunk/package/network/ipv6/map/files/map.sh Log: map: shorten autogenerated sub-interface names to account for limits Signed-off-by: Steven Barth <[email protected]> Modified: trunk/package/network/ipv6/map/Makefile =================================================================== --- trunk/package/network/ipv6/map/Makefile 2015-04-29 20:04:46 UTC (rev 45589) +++ trunk/package/network/ipv6/map/Makefile 2015-04-30 12:43:46 UTC (rev 45590) @@ -9,7 +9,7 @@ PKG_NAME:=map PKG_VERSION:=3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_LICENSE:=GPL-2.0 include $(INCLUDE_DIR)/package.mk Modified: trunk/package/network/ipv6/map/files/map.sh =================================================================== --- trunk/package/network/ipv6/map/files/map.sh 2015-04-29 20:04:46 UTC (rev 45589) +++ trunk/package/network/ipv6/map/files/map.sh 2015-04-30 12:43:46 UTC (rev 45590) @@ -176,7 +176,7 @@ if [ "$type" = "lw4o6" -o "$type" = "map-e" ]; then json_init - json_add_string name "${cfg}_local" + json_add_string name "${cfg}_" json_add_string ifname "@$(eval "echo \$RULE_${k}_PD6IFACE")" json_add_string proto "static" json_add_array ip6addr @@ -189,7 +189,7 @@ proto_map_teardown() { local cfg="$1" - ifdown "${cfg}_local" + ifdown "${cfg}_" rm -f /tmp/map-$cfg.rules } _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
