diff options
-rw-r--r-- | collect-wireless-mac.capsman.rsc | 2 | ||||
-rw-r--r-- | collect-wireless-mac.local.rsc | 2 | ||||
-rw-r--r-- | collect-wireless-mac.template.rsc | 2 | ||||
-rw-r--r-- | collect-wireless-mac.wifiwave2.rsc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/collect-wireless-mac.capsman.rsc b/collect-wireless-mac.capsman.rsc index f421a53..65effa8 100644 --- a/collect-wireless-mac.capsman.rsc +++ b/collect-wireless-mac.capsman.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 ]); } } diff --git a/collect-wireless-mac.local.rsc b/collect-wireless-mac.local.rsc index 99f8d3b..3b97b52 100644 --- a/collect-wireless-mac.local.rsc +++ b/collect-wireless-mac.local.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 ]); } } diff --git a/collect-wireless-mac.template.rsc b/collect-wireless-mac.template.rsc index a584c79..bba151a 100644 --- a/collect-wireless-mac.template.rsc +++ b/collect-wireless-mac.template.rsc @@ -75,7 +75,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 ]); } } 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 ]); } } |