Revert "Default IPv6 by environment variable"

This reverts commit fb1032e116.
This commit is contained in:
Simon 2021-07-10 00:51:01 +01:00
parent fb1032e116
commit 075064a888
2 changed files with 0 additions and 6 deletions

View File

@ -33,7 +33,6 @@ import const
import socket
import ipaddress
from socket import gethostbyname
import os
# Does anybody read this stuff? There's a PEP somewhere that says I should do this.
@ -331,10 +330,6 @@ def build_config(_config_file):
'ENHANCED_OBP': config.getboolean(section, 'ENHANCED_OBP')
}})
#If IPv6 is enabled by enviornment variable...
if CONFIG['SYSTEMS'][section]['IP'] == '' and 'FD_DEFAULT_IPV6' in os.environ and bool(os.environ['FD_DEFAULT_IPV6']):
CONFIG['SYSTEMS'][section]['IP'] = '::'
try:
if CONFIG['SYSTEMS'][section]['IP'] == '::':

View File

@ -23,7 +23,6 @@ services:
ipv6_address: fd2a:70b6:9f54:29b6::10
environment:
- FDPROXY_IPV6=1
- FD_DEFAULT_IPV6=1
ipv6nat:
container_name: ipv6nat