Mod detection via cw_mod_detect

FossilOrigin-Name: ca7afed73bf58840bb8ceabd09586b852eacc0995aff8da33a71de25afc1c043
This commit is contained in:
7u83@mail.ru
2018-02-26 13:44:27 +00:00
parent ce4913b1fd
commit e3b569f13a
5 changed files with 29 additions and 15 deletions

View File

@ -171,6 +171,7 @@ static int check_len(struct conn *conn, struct cw_action_in *a, uint8_t * data,
static struct cw_Mod *detect_mod(struct conn *conn, uint8_t * rawmsg, int len,
int elems_len, struct sockaddr *from, int mode)
{
cw_mod_detect(conn,rawmsg,len,elems_len,from,mode);
return MOD_NULL;
if (!conn->mods)