Debuggin with cw_decode_msg is possible

This commit is contained in:
2022-07-28 18:25:05 +02:00
parent 6893cfa4d4
commit 4506690fe1
8 changed files with 70 additions and 25 deletions

View File

@ -13,11 +13,9 @@ int cw_in_generic(struct cw_ElemHandler * handler, struct cw_ElemHandlerParams *
cw_log(LOG_ERR,"Can't handle element: %s, no type defined",handler->name);
return CAPWAP_RESULT_UNRECOGNIZED_MESSAGE_ELEMENT;
}
result = cw_ktv_add(params->remote_cfg, handler->key,
handler->type,NULL, elem_data,elem_len);
params->elem=result;
return CAPWAP_RESULT_SUCCESS;
}