diff options
author | Christian Hesse <mail@eworm.de> | 2023-09-22 12:29:15 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-09-22 12:29:15 +0200 |
commit | 4c6c30550fe509267b599bc46a020d1639089744 (patch) | |
tree | fee0c101042fc07d367ba726418bb1bba4d1487f /collect-wireless-mac.wifiwave2.rsc | |
parent | 57c5c3f7049c0d60340c7fa66cb85cc2d5b65e78 (diff) |
collect-wireless-mac: filter on dns type
Diffstat (limited to 'collect-wireless-mac.wifiwave2.rsc')
-rw-r--r-- | collect-wireless-mac.wifiwave2.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collect-wireless-mac.wifiwave2.rsc b/collect-wireless-mac.wifiwave2.rsc index 04e65e8..86cfd64 100644 --- a/collect-wireless-mac.wifiwave2.rsc +++ b/collect-wireless-mac.wifiwave2.rsc @@ -60,7 +60,7 @@ $ScriptLock $0 false 10; :local DnsRec ([ /ip/dns/static/find where address=$Address ]->0); :if ([ :len $DnsRec ] > 0) do={ :set DnsName ({ [ /ip/dns/static/get $DnsRec name ] }); - :foreach CName in=[ /ip/dns/static/find where cname=($DnsName->0) ] do={ + :foreach CName in=[ /ip/dns/static/find where type=CNAME cname=($DnsName->0) ] do={ :set DnsName ($DnsName, [ /ip/dns/static/get $CName name ]); } } |