summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-09-03 11:21:31 +0200
committerKali Kaneko <kali@leap.se>2013-09-03 11:21:31 +0200
commitceeba60a8d37128d0609046089859d9a3d7dcfa3 (patch)
treed070b8ff62663869fdad5874cd332f2367898915
parentd99947002dba95174f1217850d500efb50a4cb74 (diff)
parent0cacbe7c8dae97a04654c2cca5e928dfa9e3741d (diff)
Merge remote-tracking branch 'ivan-github/bug/3595_gateway-selection-problem' into develop
-rw-r--r--changes/bug-3595_fix-gateway-selection-problem1
-rw-r--r--src/leap/bitmask/services/eip/eipconfig.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changes/bug-3595_fix-gateway-selection-problem b/changes/bug-3595_fix-gateway-selection-problem
new file mode 100644
index 00000000..7225eed0
--- /dev/null
+++ b/changes/bug-3595_fix-gateway-selection-problem
@@ -0,0 +1 @@
+ o Fix gateway selection problem. Closes 3595.
diff --git a/src/leap/bitmask/services/eip/eipconfig.py b/src/leap/bitmask/services/eip/eipconfig.py
index 1f49f9cd..1cb7419e 100644
--- a/src/leap/bitmask/services/eip/eipconfig.py
+++ b/src/leap/bitmask/services/eip/eipconfig.py
@@ -141,7 +141,7 @@ class VPNGatewaySelector(object):
if time.daylight:
local_offset = time.altzone
- return local_offset / 3600
+ return -local_offset / 3600
class EIPConfig(BaseConfig):