aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-10-19 08:45:40 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-10-19 08:45:40 +0200
commit621154ab83eadc612af3423dc86cad94bdc69609 (patch)
tree889ab11a185bf9ab584cf4301fc562670c6b2bc8
parent2f8e8b74487b36fe8ed233570115767ca3a13ec6 (diff)
ipsec-to-dns: remove debug output
Oops... 😳 This sneaked in with initial commit 862417b8d32f6eef1c05ba9137fe2a7f14436987 ("add 'ipsec-to-dns'").
-rw-r--r--ipsec-to-dns2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipsec-to-dns b/ipsec-to-dns
index c6cfdc4..cf36987 100644
--- a/ipsec-to-dns
+++ b/ipsec-to-dns
@@ -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 ];