aboutsummaryrefslogtreecommitdiffstats
path: root/config/siproxd
diff options
context:
space:
mode:
authordoktornotor <jakub.moc@gmail.com>2015-07-12 19:45:44 +0200
committerdoktornotor <jakub.moc@gmail.com>2015-07-12 19:45:44 +0200
commit8c3df0e9debbb49ea7bd912b7f68ae88d72baa2f (patch)
treec289fe594f0761d39f703b2004e6486e7334d55e /config/siproxd
parent2c68b4b20bc0709ec485f0292648b50aff3ad098 (diff)
downloadpfsense-packages-8c3df0e9debbb49ea7bd912b7f68ae88d72baa2f.tar.gz
pfsense-packages-8c3df0e9debbb49ea7bd912b7f68ae88d72baa2f.tar.bz2
pfsense-packages-8c3df0e9debbb49ea7bd912b7f68ae88d72baa2f.zip
Fix Bug #4561
Listening port redirect rule pulling wrong tag from <siproxdsettings> in config.xml
Diffstat (limited to 'config/siproxd')
-rw-r--r--config/siproxd/siproxd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/siproxd/siproxd.inc b/config/siproxd/siproxd.inc
index e873e08d..53dc7a2d 100644
--- a/config/siproxd/siproxd.inc
+++ b/config/siproxd/siproxd.inc
@@ -81,7 +81,7 @@ function siproxd_generate_rules($type) {
$ifaces = array_map('convert_friendly_interface_to_real_interface_name', $ifaces);
$rtplower = ($siproxd_conf['rtplower'] ? $siproxd_conf['rtplower'] : 7070);
$rtpupper = ($siproxd_conf['rtpupper'] ? $siproxd_conf['rtpupper'] : 7079);
- $port = ($siproxd_conf['proxy_port'] ? $siproxd_conf['proxy_port'] : 5060);
+ $port = ($siproxd_conf['port'] ? $siproxd_conf['port'] : 5060);
switch($type) {
case 'nat':