Commit abfd214b by Szeberényi Imre

IPv6 GW setting fix

parent 1bd22f13
...@@ -70,6 +70,13 @@ def reload_firewall_vlan(data, save_config=True): ...@@ -70,6 +70,13 @@ def reload_firewall_vlan(data, save_config=True):
except: except:
pass pass
try:
ns_exec(('ip', '-6', 'ro', 'add', 'default', 'via',
getenv('GATEWAY6', 'fe80::1'), 'dev',
getenv('GATEWAYDEV6', 'PUB')))
except:
pass
logger.info("Interface (vlan) configuration is reloaded.") logger.info("Interface (vlan) configuration is reloaded.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment