-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
/system script
add dont-require-permissions=no name=script1 owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon source="/import flash/MTM/Facts.rsc;\r\
\n:global MtmFacts;\r\
\n:local strTool [(\$MtmFacts->\"execute\") nsStr=\"getTools()->getStrings()\"];\r\
\n\r\
\n/ip arp print where \$dynamic=true and !complete and [(\$strTool->\"toLower\") \$interface] =[(\$strTool->\"toLower\") \"PublicDMZ\"]; #perfect\r\
\n/ip dhcp-server lease print where host-name ~\"NurseSmurf.server\"; #perfect\r\
\n/ip dhcp-server lease print where [(\$strTool->\"toLower\") host-name] ~[(\$strTool->\"toLower\") \"NurseSmurf.server\"]; #is null\r\
\n"
why not return the last query result ...
I guess it's not the Tool's fault but I can't figure out what the problem may be.
Metadata
Metadata
Assignees
Labels
No labels