diff options
author | kali <kali@leap.se> | 2013-01-17 05:54:16 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2013-01-17 05:55:01 +0900 |
commit | d6c8cb0f12e8924820c296a8114a7899f61e5180 (patch) | |
tree | 203eee2a5cd90c12187007ba0a4bdd48243abd7d /src/leap/eip/openvpnconnection.py | |
parent | 68af5b2f807ac8acd9525d46d37cfd2a28a06b47 (diff) |
(osx) detect which interface is traffic going thru
Diffstat (limited to 'src/leap/eip/openvpnconnection.py')
-rw-r--r-- | src/leap/eip/openvpnconnection.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/eip/openvpnconnection.py b/src/leap/eip/openvpnconnection.py index a36d99de..e5169465 100644 --- a/src/leap/eip/openvpnconnection.py +++ b/src/leap/eip/openvpnconnection.py @@ -6,6 +6,7 @@ import logging import os import psutil import shutil +import select import socket from functools import partial @@ -103,6 +104,8 @@ class OpenVPNManagement(object): return [] except socket.error as exc: logger.debug('socket error: %s' % exc.message) + except select.error as exc: + logger.debug('select error: %s' % exc.message) def _send_short_command(self, cmd): """ |