From d5d90c59759da24fa6751f3195f0800892b2ccb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Touceda?= Date: Wed, 16 Apr 2014 12:59:32 -0300 Subject: Let OpenVPN handle ping-restarts --- changes/bug_reenable_ping_restart | 1 + src/leap/bitmask/services/eip/vpnprocess.py | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changes/bug_reenable_ping_restart diff --git a/changes/bug_reenable_ping_restart b/changes/bug_reenable_ping_restart new file mode 100644 index 00000000..8b6653f1 --- /dev/null +++ b/changes/bug_reenable_ping_restart @@ -0,0 +1 @@ +- Let OpenVPN run its course when a ping-restart happens. \ No newline at end of file diff --git a/src/leap/bitmask/services/eip/vpnprocess.py b/src/leap/bitmask/services/eip/vpnprocess.py index 9986526a..a9444489 100644 --- a/src/leap/bitmask/services/eip/vpnprocess.py +++ b/src/leap/bitmask/services/eip/vpnprocess.py @@ -66,8 +66,9 @@ class VPNObserver(object): 'Network is unreachable (code=101)',), 'PROCESS_RESTART_TLS': ( "SIGUSR1[soft,tls-error]",), - 'PROCESS_RESTART_PING': ( - "SIGUSR1[soft,ping-restart]",), + # Let ping-restart work as it should + # 'PROCESS_RESTART_PING': ( + # "SIGUSR1[soft,ping-restart]",), 'INITIALIZATION_COMPLETED': ( "Initialization Sequence Completed",), } -- cgit v1.2.3