diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-21 13:49:33 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-21 13:49:33 -0300 |
commit | 71380d452b07ca1549b8fc9a2d6dcd82f3596f4e (patch) | |
tree | d7fed7efe1398aa90cfccfa7e4dc72592bf4f492 /src | |
parent | 5f9a3a20ba7905b0ca76a969d39ef5d03d523702 (diff) | |
parent | bfa7b33e1f512c49f9f6825a385bb44e7b6152f4 (diff) | |
download | pfsense-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.php | 6 |
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")?> |