[ovs-dev] [PATCH 4/8] packets: Parse IP address strings with a zero length prefix.
Justin Pettit
jpettit at ovn.org
Thu Jun 9 23:46:13 UTC 2016
> On Jun 9, 2016, at 9:57 AM, Darrell Ball <dlu998 at gmail.com> wrote:
>
> I edited the error msgs, per below, in the previous response with an upper range change; that was my suggestion.
>
> + return xasprintf("%s: IPv4 network prefix bits not between 0 and "
> + "32, inclusive", s);
>
> + "and 128, inclusive", s);
>
> for v4, 0 to 32 is valid; i.e. /0 to /32; => not (between 0 and 32, inclusive)
> for v6, 0 to 128 is valid: i.e. /0 to /128; => not (between 0 and 128, inclusive)
Thanks for pointing that out. I updated the error message and will push it soon.
--Justin
More information about the dev
mailing list