]> git.ipfire.org Git - people/stevee/network.git/commitdiff
he: Update URL for changing tunnel endpoint address.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Jan 2014 21:58:05 +0000 (22:58 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Jan 2014 21:58:05 +0000 (22:58 +0100)
https://www.tunnelbroker.net/forums/index.php?topic=1994.0

src/functions/functions.he

index d67300520aa812286e01c8283272bb392a98b636..efd23c6a68444a5fed06fb6e872583a65e7e669e 100644 (file)
@@ -45,7 +45,7 @@ function he_tunnelbroker_endpoint_update() {
 
        # Send HTTP request.
        local response=$(http_GET --username="${username}" --password="${password}" \
-               "https://ipv4.tunnelbroker.net/ipv4_end.php" "tid=${tunnel_id}")
+               "https://ipv4.tunnelbroker.net/nic/update" "hostname=${tunnel_id}")
 
        log DEBUG "Server response: ${response}"