]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Disable 'reload-rules' command.
authorEric Leblond <eric@regit.org>
Mon, 19 Nov 2012 11:41:42 +0000 (12:41 +0100)
committerEric Leblond <eric@regit.org>
Tue, 20 Nov 2012 10:02:06 +0000 (11:02 +0100)
src/unix-manager.c

index 3efa79dd1a63d62fbea4821902c83f41897a711a..db793ea3d88d47c43dfd3c2351077cce112deca4 100644 (file)
@@ -578,6 +578,7 @@ TmEcode UnixManagerShutdownCommand(json_t *cmd,
     SCReturn(TM_ECODE_OK);
 }
 
+#if 0
 TmEcode UnixManagerReloadRules(json_t *cmd,
                                    json_t *server_msg, void *data)
 {
@@ -594,6 +595,7 @@ TmEcode UnixManagerReloadRules(json_t *cmd,
     }
     SCReturn(TM_ECODE_OK);
 }
+#endif
 
 UnixCommand command;
 
@@ -723,7 +725,9 @@ void *UnixManagerThread(void *td)
 
     /* Init Unix socket */
     UnixManagerRegisterCommand("shutdown", UnixManagerShutdownCommand, NULL, 0);
+#if 0
     UnixManagerRegisterCommand("reload-rules", UnixManagerReloadRules, NULL, 0);
+#endif
 
     TmThreadsSetFlag(th_v, THV_INIT_DONE);
     while (1) {