diff --git a/.DS_Store b/.DS_Store index 7cf0dec..fb3358a 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/rmc/.DS_Store b/rmc/.DS_Store index 00d3a4e..db62206 100644 Binary files a/rmc/.DS_Store and b/rmc/.DS_Store differ diff --git a/rmc/rmc_server.py b/rmc/rmc_server.py index 37432bd..82a7a56 100644 --- a/rmc/rmc_server.py +++ b/rmc/rmc_server.py @@ -119,6 +119,12 @@ def __init__(self, app, parent=None): # Tunnel configured? (Requires server to be configured) if 'wireguard' in self.config.config: + + # Backwards compatibility, v0.1.2 onwards + if 'only' not in self.config['wireguard'].keys(): + self.config['wireguard']['only'] = self.wg_only + self.config.save() + self.b_auth.setEnabled(True) self.b_tunn.setEnabled(True) self.wg_port = self.config['wireguard']['port']