diff --git a/src/capwap/cw_readelem_vendor_specific_payload.c b/src/capwap/cw_readelem_vendor_specific_payload.c index 68aada2d..44dea9e8 100644 --- a/src/capwap/cw_readelem_vendor_specific_payload.c +++ b/src/capwap/cw_readelem_vendor_specific_payload.c @@ -25,6 +25,9 @@ int cw_readelem_cisco_payload(void *data,int msgtype,int elem_id,uint8_t *msgele } case CWMSG_DISCOVERY_REQUEST: { + struct wtpinfo * wtpinfo = (struct wtpinfo*)data; + if (lw_readelem_wtp_name(&wtpinfo->name,elem_id,msgelem,len)) + return 1; }