aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-04-14 21:36:28 +0000
committerErmal <eri@pfsense.org>2010-04-14 21:36:28 +0000
commit156c84c0842f80555f5aefcae99ebf734aee2283 (patch)
tree80b3d35cd08f3f7f4fc7d70023abc6319cb19ea1 /config
parentcd82ca3d9533777d519e933e29962fa139e94967 (diff)
downloadpfsense-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.inc2
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");