From 0df71d26083f4c7b472bd02769380ba46e9e97aa Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 4 Dec 2017 22:25:48 +0100 Subject: [PATCH] firewall, alias. remove dependency of filter_expand_alias_array for https://github.com/opnsense/core/issues/1971 --- src/www/vpn_openvpn_export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/vpn_openvpn_export.php b/src/www/vpn_openvpn_export.php index bc7f7a45a..365bf9ee5 100644 --- a/src/www/vpn_openvpn_export.php +++ b/src/www/vpn_openvpn_export.php @@ -770,7 +770,7 @@ function openvpn_client_export_find_port_forwards($targetip, $targetport, $targe $dest['proto'] = $natent['protocol']; // Could be multiple ports... But we can only use one. - $dports = is_port($natent['destination']['port']) ? array($natent['destination']['port']) : filter_expand_alias_array($natent['destination']['port']); + $dports = is_port($natent['destination']['port']) ? array($natent['destination']['port']) : filter_core_get_port_alias($natent['destination']['port']); $dest['port'] = $dports[0]; // Could be network or address ...