Author: hauke
Date: 2015-12-27 21:42:26 +0100 (Sun, 27 Dec 2015)
New Revision: 48006

Modified:
   trunk/package/network/ipv6/6in4/Makefile
   trunk/package/network/ipv6/6in4/files/6in4.sh
Log:
6in4: Corrected tunnelbroker tunnel update URL

Changed the tunnel update URL into format tunnelbrokers
example has, that made it work again. Current method gives "Username/Password
Authentication Failed." when I tried the wget line manually and logread
eventually says also "6in4: update failed". With corrected URL it works fine:
"good 111.222.333.444" or "nochg 111.222.333.444" and logread concurs with
success, and tunnel actually updates.

Tested-by: Vaasa Hacklab <[email protected]>
Signed-off-by: Sami Olmari <[email protected]>


Modified: trunk/package/network/ipv6/6in4/Makefile
===================================================================
--- trunk/package/network/ipv6/6in4/Makefile    2015-12-23 23:42:18 UTC (rev 
48005)
+++ trunk/package/network/ipv6/6in4/Makefile    2015-12-27 20:42:26 UTC (rev 
48006)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=6in4
-PKG_VERSION:=22
+PKG_VERSION:=23
 PKG_RELEASE:=1
 PKG_LICENSE:=GPL-2.0
 

Modified: trunk/package/network/ipv6/6in4/files/6in4.sh
===================================================================
--- trunk/package/network/ipv6/6in4/files/6in4.sh       2015-12-23 23:42:18 UTC 
(rev 48005)
+++ trunk/package/network/ipv6/6in4/files/6in4.sh       2015-12-27 20:42:26 UTC 
(rev 48006)
@@ -108,7 +108,7 @@
                        fi
                }
 
-               local 
url="$http://ipv4.tunnelbroker.net/nic/update?username=$username&password=$password&hostname=$tunnelid";
+               local 
url="$http://$username:[email protected]/nic/update?hostname=$tunnelid";
                local try=0
                local max=3
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to