lldpd: Fix return value convention for "send" function.
authorBen Pfaff <blp@nicira.com>
Mon, 23 Feb 2015 00:34:36 +0000 (16:34 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 4 Mar 2015 00:22:32 +0000 (16:22 -0800)
commita268e134b6088e8b9d255b19ae1cbb219378c0fe
tree51cc0c4ed024b5bbb79968db4b921373d9a5a003
parent809fd54df3ecb90d8e0ea84a614ba3432a97de2b
lldpd: Fix return value convention for "send" function.

errno values are positive values, so it's not reasonable to use E2BIG as
an error return with positive values also indicating packet lengths.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/lldp/lldpd.c