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

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



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

Modified files:
	main.c

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

Index: main.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/addagent/main.c,v
diff -u -r1.7 -r1.8
--- main.c	21 Jun 2006 00:53:43 -0000	1.7
+++ main.c	4 Sep 2006 20:39:20 -0000	1.8
@@ -111,6 +111,9 @@
             case 'Q':
                 printf(EXIT);
                 exit(0);    
+	    case 'V':
+		print_version();   
+		break;
             default:    
                 printf("\n ** Invalid Action ** \n\n");
                 break;            


OSSEC home | Main Index | Thread Index


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