podman/libpod/network
Paul Holzinger 70e7acdb23 Fix ip-range for classless subnet masks
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>
2020-11-23 11:55:29 +01:00
..
config.go network aliases for container creation 2020-11-09 15:08:58 -06:00
create.go add network connect|disconnect compat endpoints 2020-11-17 14:22:39 -06:00
create_test.go enable ipv6 network configuration options 2020-11-10 08:34:52 +01:00
devices.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
files.go enable ipv6 network configuration options 2020-11-10 08:34:52 +01:00
ip.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
lock.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
netconflist.go Merge pull request #8251 from baude/networkaliases 2020-11-10 19:10:59 +01:00
netconflist_test.go enable ipv6 network configuration options 2020-11-10 08:34:52 +01:00
network.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
network_test.go prevent unpredictable results with network create|remove 2020-10-07 10:03:21 -05:00
subnet.go Fix ip-range for classless subnet masks 2020-11-23 11:55:29 +01:00
subnet_test.go Fix ip-range for classless subnet masks 2020-11-23 11:55:29 +01:00