Re: [ovs-dev] [PATCH] learn: Improve error reporting.

2015-05-29 Thread Ben Pfaff
On Fri, May 29, 2015 at 03:23:17PM -0700, Jesse Gross wrote: > On Fri, May 29, 2015 at 3:15 PM, Ben Pfaff wrote: > > parse_int_string() returns an error if the field overflows, not if there > > is a bad hex digit. > > > > Signed-off-by: Ben Pfaff > > Acked-by: Jesse Gross Thanks, applied.

Re: [ovs-dev] [PATCH] learn: Improve error reporting.

2015-05-29 Thread Jesse Gross
On Fri, May 29, 2015 at 3:15 PM, Ben Pfaff wrote: > parse_int_string() returns an error if the field overflows, not if there > is a bad hex digit. > > Signed-off-by: Ben Pfaff Acked-by: Jesse Gross ___ dev mailing list dev@openvswitch.org http://openv

[ovs-dev] [PATCH] learn: Improve error reporting.

2015-05-29 Thread Ben Pfaff
parse_int_string() returns an error if the field overflows, not if there is a bad hex digit. Signed-off-by: Ben Pfaff --- lib/learn.c| 4 ++-- tests/learn.at | 14 ++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/lib/learn.c b/lib/learn.c index 8ff1e0a..a0e32c6