mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-14 20:59:40 +00: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> |
||
|---|---|---|
| .. | ||
| config.go | ||
| create.go | ||
| create_test.go | ||
| devices.go | ||
| files.go | ||
| ip.go | ||
| lock.go | ||
| netconflist.go | ||
| netconflist_test.go | ||
| network.go | ||
| network_test.go | ||
| subnet.go | ||
| subnet_test.go | ||