learn: Improve error reporting.
authorBen Pfaff <blp@nicira.com>
Fri, 29 May 2015 22:15:01 +0000 (15:15 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 29 May 2015 22:56:35 +0000 (15:56 -0700)
commit6f17821ed39b7cc54320295621bbe4ff88d55881
tree07b5091ab262831bb00989e0a2443a546d0ce0f6
parentdb8bb9a51e237a55ee5c0b8800ef954e5f84e798
learn: Improve error reporting.

parse_int_string() returns an error if the field overflows, not if there
is a bad hex digit.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
lib/learn.c
tests/learn.at