Commit d4ef8818 authored by Franco Fichtner's avatar Franco Fichtner

firewall: don't leak NAT rules into interface tab; closes #695

(cherry picked from commit 33004e87)
parent 65ba325a
......@@ -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'])) {
......
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 to comment