summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-04-16 12:59:32 -0300
committerTomás Touceda <chiiph@leap.se>2014-04-23 11:42:25 -0300
commit0f24846461e103f1f2be41461a4959d6090a629e (patch)
tree400b9b768b0d10bdf6da9a7d0cbe5a147efc1138
parentdeaddb4a77acfb99024c4ca2f584210e778573ce (diff)
Let OpenVPN handle ping-restarts
-rw-r--r--changes/bug_reenable_ping_restart1
-rw-r--r--src/leap/bitmask/services/eip/vpnprocess.py5
2 files changed, 4 insertions, 2 deletions
diff --git a/changes/bug_reenable_ping_restart b/changes/bug_reenable_ping_restart
new file mode 100644
index 00000000..4fdd935c
--- /dev/null
+++ b/changes/bug_reenable_ping_restart
@@ -0,0 +1 @@
+- Let OpenVPN run its course when a ping-restart happens. Fixes #5564. \ 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",),
}