summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-21 13:49:33 -0300
committerRenato Botelho <renato@netgate.com>2015-09-21 13:49:33 -0300
commit71380d452b07ca1549b8fc9a2d6dcd82f3596f4e (patch)
treed7fed7efe1398aa90cfccfa7e4dc72592bf4f492 /src
parent5f9a3a20ba7905b0ca76a969d39ef5d03d523702 (diff)
parentbfa7b33e1f512c49f9f6825a385bb44e7b6152f4 (diff)
downloadpfsense-71380d452b07ca1549b8fc9a2d6dcd82f3596f4e.zip
pfsense-71380d452b07ca1549b8fc9a2d6dcd82f3596f4e.tar.gz
Merge pull request #1919 from doktornotor/patch-18
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/interfaces_assign.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/local/www/interfaces_assign.php b/src/usr/local/www/interfaces_assign.php
index 88b8df1..0e2152e 100644
--- a/src/usr/local/www/interfaces_assign.php
+++ b/src/usr/local/www/interfaces_assign.php
@@ -196,11 +196,15 @@ $ovpn_descrs = array();
if (is_array($config['openvpn'])) {
if (is_array($config['openvpn']['openvpn-server'])) {
foreach ($config['openvpn']['openvpn-server'] as $s) {
+ $portname = "ovpns{$s['vpnid']}";
+ $portlist[$portname] = $s;
$ovpn_descrs[$s['vpnid']] = $s['description'];
}
}
if (is_array($config['openvpn']['openvpn-client'])) {
foreach ($config['openvpn']['openvpn-client'] as $c) {
+ $portname = "ovpnc{$c['vpnid']}";
+ $portlist[$portname] = $c;
$ovpn_descrs[$c['vpnid']] = $c['description'];
}
}
@@ -556,4 +560,4 @@ display_top_tabs($tab_array);
<p class="alert alert-info"><?=gettext("Interfaces that are configured as members of a lagg(4) interface will not be shown.")?></p>
-<?php include("foot.inc")?> \ No newline at end of file
+<?php include("foot.inc")?>
OpenPOWER on IntegriCloud