X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=python%2Fovs%2Fsocket_util.py;fp=python%2Fovs%2Fsocket_util.py;h=f54b9040ae051da61d6382d8fdda29152075ef6e;hb=a32f0904a7ed4b9cdc05165920d33cfe45349933;hp=1fc80fd3a1add02446f26e3d5153e3b45fd855e4;hpb=8d7785bd5a9e8ce9f21714cc7a7c7dca1086bed0;p=sliver-openvswitch.git diff --git a/python/ovs/socket_util.py b/python/ovs/socket_util.py index 1fc80fd3a..f54b9040a 100644 --- a/python/ovs/socket_util.py +++ b/python/ovs/socket_util.py @@ -182,7 +182,7 @@ def set_nonblocking(sock): sock.setblocking(0) except socket.error, e: vlog.err("could not set nonblocking mode on socket: %s" - % os.strerror(get_socket_error(e))) + % os.strerror(get_exception_errno(e))) def set_dscp(sock, dscp):