mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
update-tunnelbroker: silence fetch
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
$LogPrintExit2 info $0 ("Local address changed, sending UPDATE to tunnelbroker! New address: " . $PublicAddress) false;
|
$LogPrintExit2 info $0 ("Local address changed, sending UPDATE to tunnelbroker! New address: " . $PublicAddress) false;
|
||||||
/ tool fetch check-certificate=yes-without-crl \
|
/ tool fetch check-certificate=yes-without-crl \
|
||||||
("https://ipv4.tunnelbroker.net/nic/update\?hostname=" . $Comment->"id") \
|
("https://ipv4.tunnelbroker.net/nic/update\?hostname=" . $Comment->"id") \
|
||||||
user=($Comment->"user") password=($Comment->"pass") output=none;
|
user=($Comment->"user") password=($Comment->"pass") output=none as-value;
|
||||||
/ interface 6to4 set $Interface local-address=$PublicAddress;
|
/ interface 6to4 set $Interface local-address=$PublicAddress;
|
||||||
} else={
|
} else={
|
||||||
$LogPrintExit2 debug $0 ("All tunnelbroker configuration is up to date for interface " . $InterfaceVal->"name" . ".") false;
|
$LogPrintExit2 debug $0 ("All tunnelbroker configuration is up to date for interface " . $InterfaceVal->"name" . ".") false;
|
||||||
|
Reference in New Issue
Block a user