Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
06519506
authored
Sep 02, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: fix copypaste error :(
parent
a7fca356
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
circle/firewall/models.py
+1
-1
No files found.
circle/firewall/models.py
View file @
06519506
...
@@ -624,7 +624,7 @@ class Host(models.Model):
...
@@ -624,7 +624,7 @@ class Host(models.Model):
interface
[
'gw4'
]
=
str
(
self
.
vlan
.
network4
.
ip
)
interface
[
'gw4'
]
=
str
(
self
.
vlan
.
network4
.
ip
)
if
self
.
ipv6
and
self
.
vlan
.
network6
:
if
self
.
ipv6
and
self
.
vlan
.
network6
:
interface
[
'addresses'
]
.
append
(
str
(
self
.
ipv
4
_with_vlan_prefixlen
))
interface
[
'addresses'
]
.
append
(
str
(
self
.
ipv
6
_with_vlan_prefixlen
))
interface
[
'gw6'
]
=
str
(
self
.
vlan
.
network6
.
ip
)
interface
[
'gw6'
]
=
str
(
self
.
vlan
.
network6
.
ip
)
return
interface
return
interface
...
...
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