mirror of
https://github.com/containers/podman.git
synced 2025-12-04 12:17:34 +08:00
The `LastIPInSubnet` function worked only for classful subnet masks (e.g. /8, /16, /24). For non standard subnet masks this returned the wrong ip address. This works now for all subnet mask. A unit test is added to ensure this. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
3.0 KiB
3.0 KiB