* Deprecates ULA prefixes when there are other public prefixes
* Fixes issues with clients using incorrect source addresses
SVN-Revision: 34630
include $(TOPDIR)/rules.mk
PKG_NAME:=ipv6-support
-PKG_VERSION:=2012-12-10
+PKG_VERSION:=2012-12-11
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
local prefix="$1"
local network="$2"
local cmd="$3"
+ local type="$4"
local addr=$(echo "$prefix" | cut -d/ -f1)
local rem=$(echo "$prefix" | cut -d/ -f2)
[ -z "$cmd" ] && cmd=newprefix
[ "$prefix_action" == "npt" ] && msg="$msg"', "npt": 1'
+ [ "$type" == "secondary" ] && msg="$msg"', "secondary": 1'
ubus call 6distributed "$cmd" "$msg}"
}
}
# Announce ULA
- [ -n "$ula_prefix" ] && announce_prefix "$ula_prefix" "$network"
+ [ -n "$ula_prefix" ] && announce_prefix "$ula_prefix" "$network" newprefix secondary
}