From 621154ab83eadc612af3423dc86cad94bdc69609 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 19 Oct 2022 08:45:40 +0200 Subject: ipsec-to-dns: remove debug output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Oops... 😳 This sneaked in with initial commit 862417b8d32f6eef1c05ba9137fe2a7f14436987 ("add 'ipsec-to-dns'"). --- ipsec-to-dns | 2 -- 1 file changed, 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 ]; -- cgit v1.2.3-54-g00ecf