summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorstilez <stilez@users.noreply.github.com>2016-09-18 21:25:21 +0100
committerRenato Botelho <renato@netgate.com>2016-09-19 16:31:56 -0300
commit377898f1aaa9c2ad3ed2d046e13b3370b3abe36f (patch)
tree190b449d37b3b93ee9a9a9d0f905ceb24ce6b5e5 /src
parenta5e6c252738ae5af21460eb03be771ffef57ba67 (diff)
downloadpfsense-377898f1aaa9c2ad3ed2d046e13b3370b3abe36f.zip
pfsense-377898f1aaa9c2ad3ed2d046e13b3370b3abe36f.tar.gz
Show a little more key info in main info table
* Key crypto info shown * TAP/TUN appended to description (important descriptive distinction) (cherry picked from commit b1919bc7d635c875c9187df7ac4885cde7acf621)
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/vpn_openvpn_server.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php
index 9db5692..d095c9a 100644
--- a/src/usr/local/www/vpn_openvpn_server.php
+++ b/src/usr/local/www/vpn_openvpn_server.php
@@ -1215,6 +1215,7 @@ else:
<tr>
<th><?=gettext("Protocol / Port")?></th>
<th><?=gettext("Tunnel Network")?></th>
+ <th><?=gettext("Crypto")?></th>
<th><?=gettext("Description")?></th>
<th><?=gettext("Actions")?></th>
</tr>
@@ -1234,7 +1235,10 @@ else:
<?=htmlspecialchars($server['tunnel_networkv6'])?>
</td>
<td>
- <?=htmlspecialchars($server['description'])?>
+ <?=sprintf("Crypto: %s/%s<br/>D-H Params: %d bits", $server['crypto'], $server['digest'], $server['dh_length'])?><br />
+ </td>
+ <td>
+ <?=htmlspecialchars(sprintf('%s (%s)', $server['description'], $server['dev_mode']))?>
</td>
<td>
<a class="fa fa-pencil" title="<?=gettext('Edit server')?>" href="vpn_openvpn_server.php?act=edit&amp;id=<?=$i?>"></a>
OpenPOWER on IntegriCloud