Hi All,
I have a script that I created that populates a firewall group to "whitelist" IPs for statuscake. The script works, and it's properly populating the group (an address-group), but the GUI is showing 0 as the number of group members.
The script is very simple:
#!/bin/bash WHITELIST=$(curl -s https://www.statuscake.com/API/Locations/txt) sudo ipset flush statuscake for IP in $WHITELIST do sudo ipset -q -! add statuscake "$IP" done
But no matter what I try, the number of group members never updates. But a "sudo ipset list statuscake" shows all the IPs.
Thoughts? Or is there something I'm missing?
BTW, this is on an ER-X-SFP, running 1.9.0. Thanks!