c1f1d91b28
FossilOrigin-Name: 3b8718025cc9d01c66afddbc09fda047e4c78427fe342d8a800ba066eae62270
22 lines
483 B
C
22 lines
483 B
C
|
|
#include "cw/cw.h"
|
|
|
|
#include "cw/dbg.h"
|
|
|
|
#include "cw/vendors.h"
|
|
|
|
int capwap_in_ac_descriptor(struct cw_ElemHandler *eh,
|
|
struct cw_ElemHandlerParams *params,
|
|
uint8_t * data, int len)
|
|
{
|
|
static struct cw_DescriptorSubelemDef allowed[] = {
|
|
{0,CAPWAP_SUBELEM_AC_HARDWARE_VERSION, "hardware", 1024,1},
|
|
{0,CAPWAP_SUBELEM_AC_SOFTWARE_VERSION, "software", 1024,1},
|
|
{0,0, NULL,0, 0}
|
|
};
|
|
|
|
|
|
return cw_read_ac_descriptor(params->conn->remote_cfg,eh,params,data,len,allowed);
|
|
|
|
}
|