iproute icon indicating copy to clipboard operation
iproute copied to clipboard

Add a variant of IPRange that does not mask the IP automatically

Open DanielG opened this issue 9 years ago • 1 comments

When dealing with IPv6 interface addresses it is commonplace (at least in Linux) to specify them in the IP/prefix format to define IP and netmask in one go. I was going to simply use the Read instance of IPRange to parse these interface addresses but since IPRange masks the IP down to a netid I can't use it to store this configuration data and had to use a custom parser instead.

DanielG avatar Oct 18 '15 16:10 DanielG

To store an address and its netmask, new data type is necessary.

kazu-yamamoto avatar Oct 21 '15 07:10 kazu-yamamoto