6in4: adjust update url (#16617)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 40876
This commit is contained in:
Jo-Philipp Wich 2014-05-29 09:22:52 +00:00
parent 2e19fa0777
commit 83ccc9a8f6
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
#
# Copyright (C) 2010-2012 OpenWrt.org
# Copyright (C) 2010-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=6in4
PKG_VERSION:=15
PKG_VERSION:=16
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk

View file

@ -69,7 +69,7 @@ proto_6in4_setup() {
[ -n "$updatekey" ] && password="$updatekey"
local url="http://ipv4.tunnelbroker.net/ipv4_end.php?ip=AUTO&apikey=$username&pass=$password&tid=$tunnelid"
local url="http://ipv4.tunnelbroker.net/nic/update?username=$username&password=$password&hostname=$tunnelid"
local try=0
local max=3