mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
ipsec-to-dns: remove debug output
Oops... 😳
This sneaked in with initial commit 862417b8d32f6eef1c05ba9137fe2a7f14436987
("add 'ipsec-to-dns'").
This commit is contained in:
@ -47,9 +47,7 @@
|
||||
:foreach Peer in=[ /ip/ipsec/active-peers/find where !(dynamic-address=[]) ] do={
|
||||
:local PeerVal [ /ip/ipsec/active-peers/get $Peer ];
|
||||
:local Comment ($CommentPrefix . $PeerVal->"id");
|
||||
:put ($PeerVal->"id");
|
||||
:local HostName [ :pick ($PeerVal->"id") 0 [ :find ($PeerVal->"id" . ".") "." ] ];
|
||||
:put $HostName;
|
||||
|
||||
:local Fqdn ($HostName . "." . $Zone);
|
||||
:local DnsRecord [ /ip/dns/static/find where name=$Fqdn ];
|
||||
|
Reference in New Issue
Block a user