Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 45322
include $(TOPDIR)/rules.mk
PKG_NAME:=ds-lite
-PKG_VERSION:=4
+PKG_VERSION:=5
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0
define Package/ds-lite
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+kmod-ipv6 +kmod-ip6-tunnel
+ DEPENDS:=+kmod-ipv6 +kmod-ip6-tunnel +resolveip
TITLE:=Dual-Stack Lite (DS-Lite) configuration support
MAINTAINER:=Steven Barth <steven@midlink.org>
PKGARCH:=all
( proto_add_host_dependency "$cfg" "::" "$tunlink" )
+ peeraddr=$(resolveip -6 $peeraddr)
+ if [ -z "$peeraddr" ]; then
+ sleep 3
+ peeraddr=$(resolveip -6 $peeraddr)
+ if [ -z "$peeraddr" ]; then
+ proto_notify_error "$cfg" "AFTR_DNS_FAIL"
+ return
+ fi
+ fi
+ peeraddr="${peeraddr%% *}"
+
[ -z "$ip6addr" ] && {
local wanif="$tunlink"
if [ -z "$wanif" ] && ! network_find_wan6 wanif; then