diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-02 18:48:56 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-02 18:48:56 +0000 |
commit | d1ab9f1094af3c1e0d717332e8119d51a587527d (patch) | |
tree | e5f0b3cebbcef7e9bd0365a31a45f8ec579a92dd /packages/siproxd.xml | |
parent | f29fa3b019530fac196945faccb1767b5d050d6d (diff) | |
download | pfsense-packages-d1ab9f1094af3c1e0d717332e8119d51a587527d.tar.gz pfsense-packages-d1ab9f1094af3c1e0d717332e8119d51a587527d.tar.bz2 pfsense-packages-d1ab9f1094af3c1e0d717332e8119d51a587527d.zip |
Use convert_friendly_interface_to_real_interface_name
Diffstat (limited to 'packages/siproxd.xml')
-rw-r--r-- | packages/siproxd.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/siproxd.xml b/packages/siproxd.xml index eb2886c6..7d769899 100644 --- a/packages/siproxd.xml +++ b/packages/siproxd.xml @@ -118,10 +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'] != "") { - fwrite($fout, "if_inbound = " . $_POST['if_inbound'] . "\n"); + fwrite($fout, "if_inbound = " . convert_friendly_interface_to_real_interface_name($_POST['if_inbound']) . "\n"); } if($_POST['if_outbound'] != "") { - fwrite($fout, "if_outbound = " . $_POST['if_outbound'] . "\n\n"); + fwrite($fout, "if_outbound = " . convert_friendly_interface_to_real_interface_name($_POST['if_outbound']) . "\n\n"); } if($_POST['port'] != "") { fwrite($fout, "sip_listen_port = " . $_POST['port'] . "\n\n"); |