mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 02:25:05 +00:00
firewall: don't leak NAT rules into interface tab; closes #695
This commit is contained in:
parent
f57ac817bf
commit
33004e879c
@ -386,7 +386,8 @@ $( document ).ready(function() {
|
||||
// select icon
|
||||
if (!isset($filterent['type']) && empty($filterent['disabled'])) {
|
||||
// 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'])) {
|
||||
$iconfn = "glyphicon-play text-muted";
|
||||
} elseif ($filterent['type'] == "block" && empty($filterent['disabled'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user