summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_openvpn_client.php
diff options
context:
space:
mode:
authorPierre POMES <pierre.pomes@interface-tech.com>2010-12-06 20:26:58 -0500
committerPierre POMES <pierre.pomes@interface-tech.com>2010-12-06 20:26:58 -0500
commitdd62256f08c00813b5618c2cb5189f8abcfa3337 (patch)
tree7c904443c1d8f13f986996ed9a22243746880cf5 /usr/local/www/vpn_openvpn_client.php
parent8d5b8c2033315fb49c2e259cce477998b0eeb2aa (diff)
downloadpfsense-dd62256f08c00813b5618c2cb5189f8abcfa3337.zip
pfsense-dd62256f08c00813b5618c2cb5189f8abcfa3337.tar.gz
Fix vip descriptions in openvpn and ipsec screens. Ticket #1042
Diffstat (limited to 'usr/local/www/vpn_openvpn_client.php')
-rw-r--r--usr/local/www/vpn_openvpn_client.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_openvpn_client.php b/usr/local/www/vpn_openvpn_client.php
index e92d82e..96f67bf 100644
--- a/usr/local/www/vpn_openvpn_client.php
+++ b/usr/local/www/vpn_openvpn_client.php
@@ -457,10 +457,10 @@ if ($savemsg)
$interfaces = get_configured_interface_with_descr();
$carplist = get_configured_carp_interface_list();
foreach ($carplist as $cif => $carpip)
- $interfaces[$cif.'|'.$carpip] = strtoupper($cif) . " ({$carpip})";
+ $interfaces[$cif.'|'.$carpip] = $carpip." (".get_vip_descr($carpip).")";
$aliaslist = get_configured_ip_aliases_list();
foreach ($aliaslist as $aliasip => $aliasif)
- $interfaces[$aliasif.'|'.$aliasip] = strtoupper($aliasif) . " ({$aliasip})";
+ $interfaces[$aliasif.'|'.$aliasip] = $aliasip." (".get_vip_descr($aliasip).")";
$interfaces['any'] = "any";
foreach ($interfaces as $iface => $ifacename):
$selected = "";
OpenPOWER on IntegriCloud