[ovs-dev] [PATCH] packets: Make ip_parse_masked() pickier about formatting.

Justin Pettit jpettit at nicira.com
Sat Oct 17 21:29:40 UTC 2015


> On Oct 17, 2015, at 2:03 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> It's happened a couple of times now that I've entered a typoed IP address,
> e.g. "192.168.0.0$x", and ip_parse_masked() or its predecessor has accepted
> it anyway, and it's been hard to track down the real problem.  This change
> makes the parser pickier, by disallowing trailing garbage.
> 
> Signed-off-by: Ben Pfaff <blp at nicira.com>

Acked-by: Justin Pettit <jpettit at nicira.com>

--Jusitn





More information about the dev mailing list