[Snort-users] [Snort-user] registerRule(Rule **) error

zT zzahra88 at ...11827...
Thu Jan 29 14:37:11 EST 2015

hello All, i have test example of snortIDS&IPS TOOLKIT.pdf about
dynamic modules. I copy code of that file and i got this error in my
InnerWorkingsDynamicRules.c:48:2: error: too few arguments to function
and this is the content of that file:
extern Rule sid109;
extern Rule sid637;
extern Rule Rule2329;
Rule *rules[] =
int InitializeDetection()
	return RegisterRules(rules);

i'm really confuse. rules is an array of rules and these codes are the
same as codes in snort IDS&IPS TOOLKIT.pdf .what is going wrong in
these codes???
thanks & Regards

More information about the Snort-users mailing list