6in4: adjust update url (#16617)
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 29 May 2014 09:22:52 +0000 (09:22 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 29 May 2014 09:22:52 +0000 (09:22 +0000)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 40876

package/network/ipv6/6in4/Makefile
package/network/ipv6/6in4/files/6in4.sh

index ea211e9..bd99972 100644 (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
index 6e53de1..f943493 100755 (executable)
@@ -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