diff options
author | Ermal <eri@pfsense.org> | 2010-04-14 21:36:28 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-04-14 21:36:28 +0000 |
commit | 156c84c0842f80555f5aefcae99ebf734aee2283 (patch) | |
tree | 80b3d35cd08f3f7f4fc7d70023abc6319cb19ea1 /config | |
parent | cd82ca3d9533777d519e933e29962fa139e94967 (diff) | |
download | pfsense-packages-156c84c0842f80555f5aefcae99ebf734aee2283.tar.gz pfsense-packages-156c84c0842f80555f5aefcae99ebf734aee2283.tar.bz2 pfsense-packages-156c84c0842f80555f5aefcae99ebf734aee2283.zip |
Ticket #509. Use correct interface name on 2.0 installations of sipproxy.
Diffstat (limited to 'config')
-rw-r--r-- | config/siproxd.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/siproxd.inc b/config/siproxd.inc index 9fed8e10..9f2e4040 100644 --- a/config/siproxd.inc +++ b/config/siproxd.inc @@ -114,7 +114,7 @@ function sync_package_siproxd() { } if($_POST['if_outbound'] != "") { - if($config['interfaces'][$_POST['if_outbound']]['ipaddr'] == "pppoe") { + if(intval($config['version']) < 6 && $config['interfaces'][$_POST['if_outbound']]['ipaddr'] == "pppoe") { fwrite($fout, "if_outbound = ng0\n"); } else { fwrite($fout, "if_outbound = " . convert_friendly_interface_to_real_interface_name($_POST['if_outbound']) . "\n"); |