diff options
Diffstat (limited to 'packages')
-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"); |