aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-02-27 17:09:55 +0000
committerColin Smith <colin@pfsense.org>2005-02-27 17:09:55 +0000
commitdc8eb6f6c53e1a1f6ecfea524b9c7e5d9b21333a (patch)
treeb736e97c705f8d3fad9853bc0f1624dc21ce57ec /packages
parent571b24559e9f93e3fd71786a11f6bedf2265f481 (diff)
downloadpfsense-packages-dc8eb6f6c53e1a1f6ecfea524b9c7e5d9b21333a.tar.gz
pfsense-packages-dc8eb6f6c53e1a1f6ecfea524b9c7e5d9b21333a.tar.bz2
pfsense-packages-dc8eb6f6c53e1a1f6ecfea524b9c7e5d9b21333a.zip
Update siproxd to get correct interface names.
Diffstat (limited to 'packages')
-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");