If listenip_v6 we should declare ipv6 required

This commit is contained in:
Brian May 2015-12-15 13:31:03 +11:00
parent b207d1d0d6
commit 7362ba9f52

View File

@ -534,7 +534,8 @@ def main(listenip_v6, listenip_v4,
else:
listenip_v6 = None
required.ipv6 = len(subnets_v6) > 0 or len(nslist_v6) > 0
required.ipv6 = len(subnets_v6) > 0 or len(nslist_v6) > 0 \
or listenip_v6 is not None
required.udp = avail.udp
required.dns = len(nslist) > 0