Browse Source

6in4: adjust update url (#16617)

Signed-off-by: Jo-Philipp Wich <[email protected]>

SVN-Revision: 40876
Jo-Philipp Wich 11 years ago
parent
commit
83ccc9a8f6
2 changed files with 3 additions and 3 deletions
  1. 2 2
      package/network/ipv6/6in4/Makefile
  2. 1 1
      package/network/ipv6/6in4/files/6in4.sh

+ 2 - 2
package/network/ipv6/6in4/Makefile

@@ -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

+ 1 - 1
package/network/ipv6/6in4/files/6in4.sh

@@ -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