Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45590
PKG_NAME:=map
PKG_VERSION:=3
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
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
proto_map_teardown() {
local cfg="$1"
- ifdown "${cfg}_local"
+ ifdown "${cfg}_"
rm -f /tmp/map-$cfg.rules
}