mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 02:25:05 +00:00
Display remote host in IPsec Status Overview (#4234)
Add a new 'Remote Host' column to the IPsec status overview page.
This commit is contained in:
parent
5509fabfa3
commit
496c2ef24f
@ -187,6 +187,7 @@ include("head.inc");
|
||||
<table class="table table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?= gettext("Remote Host");?></th>
|
||||
<th><?= gettext("Local subnets");?></th>
|
||||
<th class="hidden-xs hidden-sm"><?= gettext("SPI(s)");?></th>
|
||||
<th><?= gettext("Remote subnets");?></th>
|
||||
@ -198,6 +199,9 @@ include("head.inc");
|
||||
<?php foreach ($ipsec_conn['sas'] as $sa_key => $sa):?>
|
||||
<?php foreach ($sa['child-sas'] as $child_sa_key => $child_sa):?>
|
||||
<tr>
|
||||
<td>
|
||||
<?= $sa['remote-host'] ?>
|
||||
</td>
|
||||
<td>
|
||||
<?= implode('<br/>', $child_sa['local-ts'])?>
|
||||
</td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user