aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ];