From ced42bd30d9aa7ded475be0625d3609618d39366 Mon Sep 17 00:00:00 2001 From: House of Vanity Date: Tue, 18 May 2021 15:21:04 -0700 Subject: [PATCH] Update gen.py --- gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen.py b/gen.py index 318a8ee..43f5476 100644 --- a/gen.py +++ b/gen.py @@ -38,12 +38,12 @@ is_update = args.update wpm_config = configparser.ConfigParser() if wpm_config.read('wpm.conf'): ips = wpm_config['Interface'].get('allowed_ips', '0.0.0.0/0') - dns = wpm_config['Interface'].get('dns', '8.8.8.8/32') + dns = wpm_config['Interface'].get('dns', '8.8.8.8') hostname = wpm_config['Interface'].get('hostname', getfqdn()) config = args.config if args.config else (wpm_config['Interface'].get('config', 'wg0')) else: ips = '0.0.0.0/0' - dns = '8.8.8.8/32' + dns = '8.8.8.8' hostname = getfqdn() config = args.config log.info('Using %s WG config file.', config)