diff --git a/utils/he_ipv6/ra.py b/utils/he_ipv6/ra.py index 2b5591e..03b1bf9 100644 --- a/utils/he_ipv6/ra.py +++ b/utils/he_ipv6/ra.py @@ -137,6 +137,10 @@ class RADVD(RA): tpl_name = 'radvd.conf.j2' def __init__(self, conf = None, tpl_name = None, tpl_dir = None): + if not conf: + conf = self.conf + if not tpl_name: + tpl_name = self.tpl_name super().__init__(conf = conf, tpl_name = tpl_name, tpl_dir = tpl_dir) self.conf.ext_init() @@ -147,5 +151,9 @@ class DNSMasq(RA): tpl_name = 'dnsmasq.include.j2' def __init__(self, conf = None, tpl_name = None, tpl_dir = None): + if not conf: + conf = self.conf + if not tpl_name: + tpl_name = self.tpl_name super().__init__(conf = conf, tpl_name = tpl_name, tpl_dir = tpl_dir) self.conf.ext_init()