@Tom-Elliott said in Location plugin by subnet:
As if you’re on subnet 255.255.192.0 and you originally set the DB value up to 255.255.0.0, you’d be far and away off.
People should have their settings correct. This is another thing that can be corrected for at installation time for storage nodes.
@george1421 If you know the IP address of the host requesting imaging (which you can get via PHP), and you have an IP and subnet mask for all nodes in the DB, you can just calculate what one it should use. The individual host doesn’t need to pass a subnet mask.
This setup would require the least amount of change to FOS and/or client (none at all), and a subnet mask field for nodes would be needed.