From 957eeaba8743ab409b8a3195afbaa534be9b2c8e Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Tue, 31 Jan 2017 23:04:42 +0100 Subject: [feature] enable vpn service --- src/leap/bitmask/core/dispatcher.py | 2 +- src/leap/bitmask/core/service.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/leap/bitmask') diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py index 1e95ce28..833741dd 100644 --- a/src/leap/bitmask/core/dispatcher.py +++ b/src/leap/bitmask/core/dispatcher.py @@ -406,7 +406,7 @@ class CommandDispatcher(object): return _format_result({'eip': 'disabled'}) subcmd = parts[1] - dispatch = self._subcommand_eip.dispatch + dispatch = self.subcommand_eip.dispatch if subcmd in ('enable', 'disable'): d = dispatch(self.core, *parts) else: diff --git a/src/leap/bitmask/core/service.py b/src/leap/bitmask/core/service.py index a34bf0e9..3a3b1f69 100644 --- a/src/leap/bitmask/core/service.py +++ b/src/leap/bitmask/core/service.py @@ -166,9 +166,7 @@ class BitmaskBackend(configurable.ConfigurableService): self._maybe_init_service('mail', service, self.basedir) def _init_eip(self): - # FIXME -- land EIP into leap.vpn - pass - # self._maybe_init_service('eip', EIPService) + self._maybe_init_service('eip', EIPService) def _init_zmq(self): zs = _zmq.ZMQServerService(self) -- cgit v1.2.3