commit: r397 - trunk/daemon
[email protected] Fri, 07 Mar 2008 13:34:30 -0500
| Newsgroups | gmane.network.spread.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: jonathan Date: 2008-03-07 13:34:30 -0500 (Fri, 07 Mar 2008) New Revision: 397 Modified: trunk/daemon/Changelog trunk/daemon/config_gram.l trunk/daemon/config_parse.y Log: Add SECURITY type of Event log entries to spread.conf file format. Modified: trunk/daemon/Changelog =================================================================== --- trunk/daemon/Changelog 2008-03-07 18:32:25 UTC (rev 396) +++ trunk/daemon/Changelog 2008-03-07 18:34:30 UTC (rev 397) @@ -1,3 +1,8 @@ +Fri Mar 7 13:32:49 2008 Jonathan Stanton <[email protected]> + + * config_gram.l, config_parse.y: Add SECURITY type of Event + log entries to spread.conf file format. + Fri Mar 7 13:22:18 2008 Jonathan Stanton <[email protected]> * configure, daemon/config.h.in: Rerun autoconf/autoheader to include new configure options. Modified: trunk/daemon/config_gram.l =================================================================== --- trunk/daemon/config_gram.l 2008-03-07 18:32:25 UTC (rev 396) +++ trunk/daemon/config_gram.l 2008-03-07 18:34:30 UTC (rev 397) @@ -115,6 +115,7 @@ MEMORY { yylval.mask = 0x00010000; return DMEMORY; } SKIPLIST { yylval.mask = 0x00200000; return DSKIPLIST; } ACM { yylval.mask = 0x00400000; return DACM; } +SECURITY { yylval.mask = 0x00800000; return DSECURITY; } ALL { yylval.mask = 0xffffffff; return DALL; } NONE { yylval.mask = 0x00000000; return DNONE; } M { yylval.mask = IFTYPE_MONITOR; return IMONITOR; } Modified: trunk/daemon/config_parse.y =================================================================== --- trunk/daemon/config_parse.y 2008-03-07 18:32:25 UTC (rev 396) +++ trunk/daemon/config_parse.y 2008-03-07 18:34:30 UTC (rev 397) @@ -318,7 +318,7 @@ %token DEBUGFLAGS BANG %token DDEBUG DEXIT DPRINT DDATA_LINK DNETWORK DPROTOCOL DSESSION %token DCONF DMEMB DFLOW_CONTROL DSTATUS DEVENTS DGROUPS DMEMORY -%token DSKIPLIST DACM DALL DNONE +%token DSKIPLIST DACM DSECURITY DALL DNONE %token DANGEROUSMONITOR SOCKETPORTREUSE RUNTIMEDIR SPUSER SPGROUP ALLOWEDAUTHMETHODS REQUIREDAUTHMETHODS ACCESSCONTROLPOLICY %token SP_BOOL SP_TRIVAL LINKPROTOCOL PHOP PTCPHOP %token IMONITOR ICLIENT IDAEMON @@ -355,6 +355,7 @@ | DMEMORY { $$ = $1; } | DSKIPLIST { $$ = $1; } | DACM { $$ = $1; } + | DSECURITY { $$ = $1; } | DALL { $$ = $1; } | DNONE { $$ = $1; } ;