More work on CAPWAP state machine...
FossilOrigin-Name: c9f31c71d46610612aafb5b4935aece949463d88eb86e4c22afa6991346185eb
This commit is contained in:
@ -9,16 +9,16 @@
|
||||
/**
|
||||
* Default handler for Vendor Specific Payload message elements.
|
||||
*/
|
||||
int cw_in_vendor_specific_payload(struct conn *conn,struct cw_action * a,uint8_t *data,int len)
|
||||
int cw_in_vendor_specific_payload(struct conn *conn,struct cw_action_in * a,uint8_t *data,int len)
|
||||
{
|
||||
cw_action_t as,*af;
|
||||
cw_action_in_t as,*af;
|
||||
as = *a;
|
||||
|
||||
as.vendor_id = cw_get_dword(data);
|
||||
as.elem_id = cw_get_word(data+4);
|
||||
printf("Vendor Specific: %d, %d\n",as.vendor_id,as.elem_id);
|
||||
// printf("Vendor Specific: %d, %d\n",as.vendor_id,as.elem_id);
|
||||
|
||||
af = cw_actionlist_get(conn->msgtr,&as);
|
||||
af = cw_actionlist_in_get(conn->actions->in,&as);
|
||||
|
||||
if (!af) {
|
||||
cw_log(DBG_ELEM,"Can't handle Vendor Specific Payload %s/%d, in msg %d (%s) in %s state.",
|
||||
|
Reference in New Issue
Block a user