More capwap rfc checkings.
FossilOrigin-Name: 210f98445c74251012a16bf00b70760502c7030b152cb165be1153341a6054d9
This commit is contained in:
parent
742a9dd7ad
commit
a0fd943659
@ -81,7 +81,15 @@ static int process_elem(void *eparm,int type,uint8_t* msgelem,int len)
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* non-mandatory messages */
|
||||
|
||||
uint16_t ml;
|
||||
if (cw_readelem_maximum_message_length(&ml,type,msgelem,len)){
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (cw_readelem_wtp_reboot_statistics(&e->wtpinfo->reboot_statistics,type,msgelem,len))
|
||||
goto foundX;
|
||||
|
||||
return 0;
|
||||
|
||||
@ -107,12 +115,6 @@ void process_join_request(struct wtpinfo * wtpinfo, uint8_t * msg, int len)
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// cw_foreach_msgelem(msg,len,process_elem,(void*)wtpinfo);
|
||||
|
||||
|
||||
struct eparm eparm;
|
||||
eparm.wtpinfo = wtpinfo;
|
||||
eparm.mand = mand;
|
||||
|
Loading…
Reference in New Issue
Block a user