diff options
author | jim-p <jimp@pfsense.org> | 2011-08-30 09:44:20 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-08-30 09:48:20 -0400 |
commit | 453d9c96dd08a37b7f9c35beb7d5a167d12eaafb (patch) | |
tree | 6ecec2f32408b0d41e55aba4967ddbbbf52c6b03 /usr | |
parent | f670f0a27a4c48bbdc3fd86ca1d9dc8cbb57b4d5 (diff) | |
download | pfsense-453d9c96dd08a37b7f9c35beb7d5a167d12eaafb.zip pfsense-453d9c96dd08a37b7f9c35beb7d5a167d12eaafb.tar.gz |
Fixup OpenVPN status a bit to properly handle SSL servers using a /30 (no server directive) and also be a little more verbose about what is happening, if we can tell.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/status_openvpn.php | 4 | ||||
-rw-r--r-- | usr/local/www/widgets/widgets/openvpn.widget.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/status_openvpn.php b/usr/local/www/status_openvpn.php index 4ad65d5..fd45b3b 100644 --- a/usr/local/www/status_openvpn.php +++ b/usr/local/www/status_openvpn.php @@ -98,7 +98,7 @@ function kill_client($port, $remipp) { } $servers = openvpn_get_active_servers(); -$sk_servers = openvpn_get_active_servers("sharedkey"); +$sk_servers = openvpn_get_active_servers("p2p"); $clients = openvpn_get_active_clients(); include("head.inc"); ?> @@ -202,7 +202,7 @@ include("head.inc"); ?> <table style="padding-top:0px; padding-bottom:0px; padding-left:0px; padding-right:0px" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="6" class="listtopic"> - <?=gettext("Shared Key Server Instance Statistics"); ?> + <?=gettext("Peer to Peer Server Instance Statistics"); ?> </td> </tr> <tr> diff --git a/usr/local/www/widgets/widgets/openvpn.widget.php b/usr/local/www/widgets/widgets/openvpn.widget.php index 4d186f0..9b5df89 100644 --- a/usr/local/www/widgets/widgets/openvpn.widget.php +++ b/usr/local/www/widgets/widgets/openvpn.widget.php @@ -55,7 +55,7 @@ function kill_client($port, $remipp) { } $servers = openvpn_get_active_servers(); -$sk_servers = openvpn_get_active_servers("sharedkey"); +$sk_servers = openvpn_get_active_servers("p2p"); $clients = openvpn_get_active_clients(); ?> @@ -145,7 +145,7 @@ $clients = openvpn_get_active_clients(); <table style="padding-top:0px; padding-bottom:0px; padding-left:0px; padding-right:0px" width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="6" class="listtopic"> - Shared Key Server Instance Statistics + Peer to Peer Server Instance Statistics </td> </tr> <tr> |