socket_util.py: Make set_dscp() python 2.4.3 compatible.
authorGurucharan Shetty <gshetty@nicira.com>
Thu, 19 Jun 2014 17:38:20 +0000 (10:38 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Tue, 24 Jun 2014 17:08:08 +0000 (10:08 -0700)
commitc620aaae644f33d9aac9b0337d45d6bd910ee01d
tree02bb033becd361b23c6f1caa9a3722659ba8fd10
parent0f1e8ed05d8f9c4658c0a11c3538eae5c804cf97
socket_util.py: Make set_dscp() python 2.4.3 compatible.

There is no 'errno' field in socket.error. Instead use the
get_exception_errno() function to get the error number.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
python/ovs/socket_util.py