aboutsummaryrefslogtreecommitdiffstats
path: root/packages/siproxd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/siproxd.xml')
-rw-r--r--packages/siproxd.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/packages/siproxd.xml b/packages/siproxd.xml
index 7554ccba..eb2886c6 100644
--- a/packages/siproxd.xml
+++ b/packages/siproxd.xml
@@ -118,12 +118,10 @@
$fout = fopen("/usr/local/etc/siproxd.conf","w");
fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n");
if($_POST['if_inbound'] != "") {
- $if_inbound = $if_inbound = $config['interfaces'][$_POST['if_inbound']]['if'];
- fwrite($fout, "if_inbound = " . $if_inbound . "\n");
+ fwrite($fout, "if_inbound = " . $_POST['if_inbound'] . "\n");
}
if($_POST['if_outbound'] != "") {
- $if_outbound = $if_outbound = $config['interfaces'][$_POST['if_outbound']]['if'];
- fwrite($fout, "if_outbound = " . $if_outbound . "\n\n");
+ fwrite($fout, "if_outbound = " . $_POST['if_outbound'] . "\n\n");
}
if($_POST['port'] != "") {
fwrite($fout, "sip_listen_port = " . $_POST['port'] . "\n\n");