diff options
-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"); |