Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
snort297
> snortsam-2.9.4_2.9.5.diff_1
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File snortsam-2.9.4_2.9.5.diff_1 of Package snort297
--- src/output-plugins/spo_alert_fwsam.c.orig 2013-07-08 22:37:00.143048750 +0200 +++ src/output-plugins/spo_alert_fwsam.c 2013-07-08 22:43:22.529806701 +0200 @@ -177,7 +177,7 @@ * Returns: void function * */ -void AlertFWsamInit(char *args) +void AlertFWsamInit(struct _SnortConfig *sc, char *args) { char *ap; unsigned long statip,cnt,again,i; char *stathost,*statport,*statpass; @@ -395,7 +395,7 @@ #endif /* Set the preprocessor function into the function list */ - AddFuncToOutputList(AlertFWsam, OUTPUT_TYPE_FLAG__ALERT, fwsamlist); + AddFuncToOutputList(sc, AlertFWsam, OUTPUT_TYPE_FLAG__ALERT, fwsamlist); AddFuncToCleanExitList(AlertFWsamCleanExitFunc, fwsamlist); AddFuncToReloadList(AlertFWsamRestartFunc, fwsamlist); } --- src/output-plugins/spo_alert_fwsam.h.orig 2013-07-08 22:46:18.705188991 +0200 +++ src/output-plugins/spo_alert_fwsam.h 2013-07-08 22:47:43.332967700 +0200 @@ -196,7 +196,7 @@ /* functions */ void AlertFWsamSetup(void); -void AlertFWsamInit(char *args); +void AlertFWsamInit(struct _SnortConfig *sc,char *args); void AlertFWsamOptionInit(char *args,OptTreeNode *otn,int protocol); void AlertFWsamCleanExitFunc(int signal, void *arg); void AlertFWsamRestartFunc(int signal, void *arg);