Hi,
Any idea how to sort a list first before use the print command in terminal? I want to print the “/ip hotspot host” list according to the MAC address. Please help. Thanks.
Rgds,
Jackie
Hi,
Any idea how to sort a list first before use the print command in terminal? I want to print the “/ip hotspot host” list according to the MAC address. Please help. Thanks.
Rgds,
Jackie
Perhaps, simply use Winbox, where you can make sorting and many other things ?
Hi,
I know winbox can do that but I need to write a script to find duplicated MAC address in the /ip hotspot host. My idea is first sort the list according to MAC address and then compare the 1st MAC with 2nd then 2nd with 3th and so on. If it is same then bind the MAC and block it. I hope this method can prevent MAC spoofing. Any idea?/
Rgds,
Jackie