summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/vpn_openvpn_client.php5
-rw-r--r--usr/local/www/vpn_openvpn_server.php3
2 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/www/vpn_openvpn_client.php b/usr/local/www/vpn_openvpn_client.php
index 42f1de7..970efd2 100644
--- a/usr/local/www/vpn_openvpn_client.php
+++ b/usr/local/www/vpn_openvpn_client.php
@@ -387,7 +387,10 @@ function autotls_change() {
<select name="interface" class="formselect">
<?php
$interfaces = get_configured_interface_with_descr();
- foreach ($interfaces as $iface => $ifacename):
+ $carplist = get_configured_carp_interface_list();
+ foreach ($carplist as $cif => $carpip)
+ $interfaces[$cif] = strtoupper($cif) . " ({$carpip})";
+ foreach ($interfaces as $iface => $ifacename):
$selected = "";
if ($iface == $pconfig['interface'])
$selected = "selected";
diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php
index 4524731..008fd47 100644
--- a/usr/local/www/vpn_openvpn_server.php
+++ b/usr/local/www/vpn_openvpn_server.php
@@ -548,6 +548,9 @@ function netbios_change() {
<select name="interface" class="formselect">
<?php
$interfaces = get_configured_interface_with_descr();
+ $carplist = get_configured_carp_interface_list();
+ foreach ($carplist as $cif => $carpip)
+ $interfaces[$cif] = strtoupper($cif) . " ({$carpip})";
foreach ($interfaces as $iface => $ifacename):
$selected = "";
if ($iface == $pconfig['interface'])
OpenPOWER on IntegriCloud