From 156c84c0842f80555f5aefcae99ebf734aee2283 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 14 Apr 2010 21:36:28 +0000 Subject: Ticket #509. Use correct interface name on 2.0 installations of sipproxy. --- config/siproxd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3