summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-01-29 15:30:35 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-01-29 15:30:35 -0200
commit49b76122af0846474f65eaf73e0e879e24fb554c (patch)
treefbbe81e53b550d12c485d1071a99e87f54aa1dac /usr/local/www/wizards
parentd12ae2414c7e3bfd239699309ff571c716d070c9 (diff)
downloadpfsense-49b76122af0846474f65eaf73e0e879e24fb554c.zip
pfsense-49b76122af0846474f65eaf73e0e879e24fb554c.tar.gz
Permit openvpn to use same port on different interfaces. It should fix #814
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/openvpn_wizard.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizards/openvpn_wizard.inc b/usr/local/www/wizards/openvpn_wizard.inc
index 006ee32..86dec52 100644
--- a/usr/local/www/wizards/openvpn_wizard.inc
+++ b/usr/local/www/wizards/openvpn_wizard.inc
@@ -366,7 +366,7 @@ function step10_submitphpaction() {
if ($result = openvpn_validate_cidr($_POST['localnet'], 'Local Network', true, "ipv4"))
$input_errors[] = $result;
- $portused = openvpn_port_used($_POST['protocol'], $_POST['localport']);
+ $portused = openvpn_port_used($_POST['protocol'], $_POST['interface'], $_POST['localport']);
if ($portused != 0)
$input_errors[] = "The specified 'Local port' is in use. Please select another value";
OpenPOWER on IntegriCloud