Commit Graph

2 Commits

Author SHA1 Message Date
Paul Holzinger 4ae6102976 libnetwork: fix NextNetwork() to support arbitrary CIDR
NextSubnet() has to work for more than a, b, c class networks. We also
have to increment arbitrary subnets when we add support for a new config
field where users can specify this.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-02-14 16:23:21 +01:00
Paul Holzinger 002673d22f add libnetwork package
Copy the libpod/network packages from podman to here so we can use the
same code in buildah as well.

This is mostly a one to one copy only the import paths have been changed
and some errors were added.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-12-16 19:07:38 +01:00