socket-util: Avoid using SO_ERROR.
authorBen Pfaff <blp@nicira.com>
Mon, 19 Nov 2012 23:55:54 +0000 (15:55 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 20 Nov 2012 23:01:03 +0000 (15:01 -0800)
commitd6cedfd9d29df4f9e9b7575c03ffcd2d84588c62
tree3c85401a8208bedb404d542c30dc87450dd6b70d
parentc3f2538933e2a7663283158a8bf806bf66ac1a23
socket-util: Avoid using SO_ERROR.

ESX doesn't implement it, and there's another approach that should work
everywhere, so drop back to that.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
lib/socket-util.c
python/ovs/socket_util.py