forked from moby/moby
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libnet/ipams/default: normalize addr pools before calling newAddrSpace
This normalization process does two things: - Unmap IPv4-mapped IPv6 addrs. This ensures such address pools are part of the IPv4 address space. - Mask the host ID. This was done by newAddrSpace but `splitByIPFamily` is already validating / normalizing the address pools. Signed-off-by: Albin Kerouanton <albinker@gmail.com>
- Loading branch information
1 parent
b676a96
commit 89d3950
Showing
2 changed files
with
2 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters