mirror of
https://github.com/containers/podman.git
synced 2026-03-18 06:38:49 -04:00
`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>