Files
WGDashboard/src
Donald Zou ece7cd1896 Use network_address for single-address IPs
When parsing allowed_ip entries in API_ping_getAllPeersIpAddress(), detect networks with a single address (ip.num_addresses == 1) and append ip.network_address directly to the parsed list. This replaces the previous host-list construction (list(ip.hosts()) / host[0]) to simplify logic and avoid iterating hosts for /32 or single-address ranges while keeping existing error logging for invalid addresses.
2026-05-10 13:31:58 +08:00
..
2022-02-04 21:36:46 -05:00
2026-04-16 20:52:55 +02:00
2026-02-02 15:23:50 +08:00
2024-08-14 22:45:36 -04:00