mod_register_actions now uses parameter mode.

FossilOrigin-Name: 7fccf33259836d6d1139d611825315e21428fbb88d7359d4176ef8ba258488fa
This commit is contained in:
7u83@mail.ru
2016-03-10 07:07:30 +00:00
parent c4f9bca1e6
commit fb74f28756
10 changed files with 47 additions and 23 deletions

View File

@ -15,7 +15,7 @@ int cipwap_init()
static int detect(struct conn *conn,const uint8_t *rawmsg, int rawlen,int elems_len, struct sockaddr *from, int mode)
{
if (mode != MOD_DETECT_CAPWAP)
if (mode != MOD_MODE_CAPWAP)
return 0;
cw_dbg(DBG_MOD,"CIPWAP detected: no");