Ignore:
Timestamp:
2011-10-17T14:45:53+02:00 (5 years ago)
Author:
jow
Message:

[backfire] 6in4: merge r28475

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/6in4/files/6in4.hotplug

    r27450 r28476  
    3838 
    3939                        [ -n "$tunnelid" ] && [ -n "$username" ] && [ -n "$password" ] && { 
    40                                 [ "${#password}" == 32 -a -z "${password//[a-f0-9]/}" ] || { 
     40                                [ "${#password}" == 32 -a -z "${password//[a-fA-F0-9]/}" ] || { 
    4141                                        password="$(echo -n "$password" | md5sum)"; password="${password%% *}" 
    4242                                } 
    4343 
    4444                                ( 
    45                                         local url="http://ipv4.tunnelbroker.net/ipv4_end.php?ipv4b=AUTO&user_id=$username&pass=$password&tunnel_id=$tunnelid" 
     45                                        local url="http://ipv4.tunnelbroker.net/ipv4_end.php?ip=AUTO&apikey=$username&pass=$password&tid=$tunnelid" 
    4646                                        local try=0 
    4747                                        local max=3 
Note: See TracChangeset for help on using the changeset viewer.