Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
fwdriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
abfd214b
authored
Jan 29, 2021
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IPv6 GW setting fix
parent
1bd22f13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
fw.py
+7
-0
No files found.
fw.py
View file @
abfd214b
...
@@ -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."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment