diff options
-rw-r--r-- | packages/snort/snort_dynamic_ip_reload.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/snort/snort_dynamic_ip_reload.php b/packages/snort/snort_dynamic_ip_reload.php index 5d88be69..91498112 100644 --- a/packages/snort/snort_dynamic_ip_reload.php +++ b/packages/snort/snort_dynamic_ip_reload.php @@ -37,13 +37,8 @@ require_once("service-utils.inc"); if($config['interfaces']['wan']['ipaddr'] == "pppoe" or $config['interfaces']['wan']['ipaddr'] == "dhcp") { - log_error("Snort has detected a dynamic wan address. Reloading configuration."); - stop_service("snort"); create_snort_conf(); - sleep(5); - start_service("snort"); } -log_error("[SNORT] Snort_dynamic_ip_reload.php is ending."); ?>
\ No newline at end of file |