diff options
Diffstat (limited to 'config/snort/snort_interfaces_edit.php')
-rw-r--r-- | config/snort/snort_interfaces_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php index e7df2243..6b3b3a55 100644 --- a/config/snort/snort_interfaces_edit.php +++ b/config/snort/snort_interfaces_edit.php @@ -484,7 +484,7 @@ echo " foreach($if_array as $iface2) { $if2 = convert_friendly_interface_to_real_interface_name2($iface2); - if($config['interfaces'][$iface2]['ipaddr'] == "pppoe") { + if(isset($config['interfaces'][$iface2]['ipaddr']) && ($config['interfaces'][$iface2]['ipaddr'] == "pppoe")) { $if2 = "ng0"; } |