Commit 9d7f6413 authored by Manuel Faux's avatar Manuel Faux Committed by Franco Fichtner

firewall: show "log" icon for RFC 1918 and IANA rules

Show a "log" icon if the RFC 1918 rule or the reserved IANA rules
are configured to be logged.
parent 3a757205
...@@ -301,7 +301,14 @@ $( document ).ready(function() { ...@@ -301,7 +301,14 @@ $( document ).ready(function() {
if (isset($config['interfaces'][$selected_if]['blockpriv'])): ?> if (isset($config['interfaces'][$selected_if]['blockpriv'])): ?>
<tr> <tr>
<td>&nbsp;</td> <td>&nbsp;</td>
<td><span class="glyphicon glyphicon-remove text-danger"></span></td> <td>
<span class="glyphicon glyphicon-remove text-danger"></span>
<?php
if (!isset($config['syslog']['nologprivatenets'])):?>
<span class="glyphicon glyphicon-info-sign"></span>
<?php
endif; ?>
</td>
<td>*</td> <td>*</td>
<td><?=gettext("RFC 1918 networks");?></td> <td><?=gettext("RFC 1918 networks");?></td>
<td>*</td> <td>*</td>
...@@ -319,7 +326,14 @@ $( document ).ready(function() { ...@@ -319,7 +326,14 @@ $( document ).ready(function() {
if (isset($config['interfaces'][$selected_if]['blockbogons'])): ?> if (isset($config['interfaces'][$selected_if]['blockbogons'])): ?>
<tr valign="top" id="frrfc1918"> <tr valign="top" id="frrfc1918">
<td>&nbsp;</td> <td>&nbsp;</td>
<td><span class="glyphicon glyphicon-remove text-danger"></span></td> <td>
<span class="glyphicon glyphicon-remove text-danger"></span>
<?php
if (!isset($config['syslog']['nologbogons'])):?>
<span class="glyphicon glyphicon-info-sign"></span>
<?php
endif; ?>
</td>
<td>*</td> <td>*</td>
<td><?=gettext("Reserved/not assigned by IANA");?></td> <td><?=gettext("Reserved/not assigned by IANA");?></td>
<td class="hidden-xs hidden-sm">*</td> <td class="hidden-xs hidden-sm">*</td>
......
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