Firewall, source nat, destination network presentation, closes https://github.com/opnsense/core/issues/3321

This commit is contained in:
Ad Schellevis 2019-03-14 10:16:12 +01:00
parent 3af02197b8
commit ff4de67bb2

View File

@ -422,8 +422,8 @@ include("head.inc");
title="<?=gettext("edit alias");?>" data-toggle="tooltip">
<i class="fa fa-list"></i>
</a>
<?php elseif (is_specialnet($natent['destination']['address'])):?>
<?=htmlspecialchars(get_specialnets()[$natent['destination']['address']]); ?>
<?php elseif (is_specialnet($natent['destination']['network'])):?>
<?=htmlspecialchars(get_specialnets()[$natent['destination']['network']]); ?>
<?php else: ?>
<?=isset($natent['destination']['any']) ? "*" : htmlspecialchars($natent['destination']['address']);?>
<?php endif; ?>