Changeset 48006


Ignore:
Timestamp:
2015-12-27T21:42:26+01:00 (2 years ago)
Author:
hauke
Message:

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 <info@…>
Signed-off-by: Sami Olmari <sami@…>

Location:
trunk/package/network/ipv6/6in4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/ipv6/6in4/Makefile

    r47189 r48006  
    99 
    1010PKG_NAME:=6in4 
    11 PKG_VERSION:=22 
     11PKG_VERSION:=23 
    1212PKG_RELEASE:=1 
    1313PKG_LICENSE:=GPL-2.0 
  • trunk/package/network/ipv6/6in4/files/6in4.sh

    r47189 r48006  
    109109                } 
    110110 
    111                 local url="$http://ipv4.tunnelbroker.net/nic/update?username=$username&password=$password&hostname=$tunnelid" 
     111                local url="$http://$username:$password@ipv4.tunnelbroker.net/nic/update?hostname=$tunnelid" 
    112112                local try=0 
    113113                local max=3 
Note: See TracChangeset for help on using the changeset viewer.