[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-dev] ossec-hids: analysisd.c (HEAD) [meirm]



Module name:	ossec-hids
Changes by:	meirm	06/09/04 17:39:21

Modified files:
	analysisd.c

Log message:
Description: Added -V switch to all daemons
Reviewed by: Daniel Cid, coded by Meir Michanie
Bug:

Index: analysisd.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/analysisd/analysisd.c,v
diff -u -r1.93 -r1.94
--- analysisd.c	28 Aug 2006 18:45:23 -0000	1.93
+++ analysisd.c	4 Sep 2006 20:39:21 -0000	1.94
@@ -126,8 +126,11 @@
     memset(prev_month, '\0', 4);
     hourly_alerts = 0;
 
-    while((c = getopt(argc, argv, "tdhu:g:D:c:")) != -1){
+    while((c = getopt(argc, argv, "Vtdhu:g:D:c:")) != -1){
         switch(c){
+	    case 'V':
+		print_version();
+		break;
             case 'h':
                 help();
                 break;


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.