podman/libpod/network
Paul Holzinger edf0e918e3 Always add the default gateway to the cni config file
`podman network create` should always add a gateway to the cni config.
If no gateway is given use the first ip in the subnet. CNI does not require
the gateway field but we need it because of network inspect.

This worked with previous version but was dropped in Commit(e7a72d72fd).

Fixes #8748

Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
2020-12-16 20:59:45 +01:00
..
config.go Fix custom mac address with a custom cni network 2020-11-24 15:16:23 +01:00
create.go Validate that the bridge option is supported 2020-12-01 22:33:16 +01: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 Add support for network ids 2020-12-02 10:27:00 +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 Always add the default gateway to the cni config file 2020-12-16 20:59:45 +01:00
netconflist_test.go Always add the default gateway to the cni config file 2020-12-16 20:59:45 +01:00
network.go Add support for network ids 2020-12-02 10:27:00 +01: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