From 3fd0037a45c42fb0bc96477b3c155f79a6f9d30f Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Tue, 17 Mar 2015 06:38:09 +0000 Subject: [PATCH] Reads LWAPP WTP name in Cisco Discovery Request FossilOrigin-Name: 10f2fbeee5b8ce9934b5516d314db4e63baa74167959adb002fc062511a7f6f1 --- src/capwap/cw_readelem_vendor_specific_payload.c | 3 +++ 1 file changed, 3 insertions(+) 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; }