Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
33004e87
Commit
33004e87
authored
Jan 27, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: don't leak NAT rules into interface tab; closes #695
parent
f57ac817
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
firewall_rules.php
src/www/firewall_rules.php
+2
-1
No files found.
src/www/firewall_rules.php
View file @
33004e87
...
@@ -386,7 +386,8 @@ $( document ).ready(function() {
...
@@ -386,7 +386,8 @@ $( document ).ready(function() {
// select icon
// select icon
if
(
!
isset
(
$filterent
[
'type'
])
&&
empty
(
$filterent
[
'disabled'
]))
{
if
(
!
isset
(
$filterent
[
'type'
])
&&
empty
(
$filterent
[
'disabled'
]))
{
// not very nice.... associated NAT rules don't have a type...
// not very nice.... associated NAT rules don't have a type...
$iconfn
=
"glyphicon-play text-success"
;
// NAT rules shouldn't leak into the rules screen, breaks on edit
continue
;
}
else
if
(
!
isset
(
$filterent
[
'type'
])
&&
!
empty
(
$filterent
[
'disabled'
]))
{
}
else
if
(
!
isset
(
$filterent
[
'type'
])
&&
!
empty
(
$filterent
[
'disabled'
]))
{
$iconfn
=
"glyphicon-play text-muted"
;
$iconfn
=
"glyphicon-play text-muted"
;
}
elseif
(
$filterent
[
'type'
]
==
"block"
&&
empty
(
$filterent
[
'disabled'
]))
{
}
elseif
(
$filterent
[
'type'
]
==
"block"
&&
empty
(
$filterent
[
'disabled'
]))
{
...
...
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