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 ea211e92ef7a8d7f307f16e35865ac551e2e9c61..bd999721d8cc0b16445cddf8f336a33a7a98a708 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 6e53de1e45e6926e5d4d0315002d92318a916c51..f9434936e396e04b175c44b0329d15207f747e97 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