You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#651
Replace the go-cidr library with Go's standard netip package. The
dependency was only used in pkg/tap/ip_pool.go for counting IPs and
getting the nth host address in a subnet.
Changes:
- Convert IPPool to use netip.Prefix and netip.Addr instead of
net.IPNet and net.IP
- Replace cidr.Host() iteration with netip.Addr.Next() traversal
- Remove cidr.AddressCount() by iterating directly through the prefix
- Update callers in pkg/virtualnetwork and pkg/services/dhcp
Assisted-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Matus Skvarla <mskvarla@redhat.com>
0 commit comments