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:44:20 -0400 |
commit | 1f2f60240c8829c64ad786eb33ecc6ba0cd1d5a2 (patch) | |
tree | e17f9ed425cd3b82d99b6d0142f360c2d016de22 /usr/local | |
parent | ac429b4257465274d89d3e7f222e81b4c18b7800 (diff) | |
download | pfsense-1f2f60240c8829c64ad786eb33ecc6ba0cd1d5a2.zip pfsense-1f2f60240c8829c64ad786eb33ecc6ba0cd1d5a2.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/local')
-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> |