• Paul Michali's avatar
    IPv6 support for hexCIDR() · 65342a00
    Paul Michali authored
    Includes these changes:
    - Modified so that IPv6 CIDRs can be converted correctly.
    - Added test cases for IPv6 addresses.
    - Split UTs for hexCIDR() and asciiCIDR() so that masking can be tested.
    - Add UTs for failure cases.
    
    Note: Some code that calls hexCIDR() builds a CIDR from the pod IP string
    and the concatenation of "/32". These should, in the future, use "128",
    if/when the pod IP is IPv6. Not addressed as part of this commit.
    65342a00
Name
Last commit
Last update
..
BUILD Loading commit data...
doc.go Loading commit data...
fake_shaper.go Loading commit data...
interfaces.go Loading commit data...
linux.go Loading commit data...
linux_test.go Loading commit data...
unsupported.go Loading commit data...
utils.go Loading commit data...
utils_test.go Loading commit data...