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>
Fri, 27 Jun 2014 15:18:20 +0000 (08:18 -0700)
commit912273bb8788104a0c23c8755e7a620a718f57b9
treeec842787fa39a0fb91161d7b648e7883bb8200af
parent68747ec41a5b5da38e58660471f441bffebc4193
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