diff --git a/src/capwap/wtpinfo.h b/src/capwap/wtpinfo.h index 2063ace2..77fea38b 100644 --- a/src/capwap/wtpinfo.h +++ b/src/capwap/wtpinfo.h @@ -26,6 +26,7 @@ /* structure to hold info about a wtp */ struct wtpinfo{ + uint8_t *ac_name; uint8_t *name; uint8_t * location; @@ -90,5 +91,7 @@ extern int wtpinfo_print(char *str, struct wtpinfo * wtpinfo); extern int wtpinfo_lwreadelem_wtp_descriptor(struct wtpinfo * wtpinfo, int type, uint8_t *msgelem, int len); +#define wtpinfo_readelem_ac_name(wtpinfo,type,msg,len) cw_readelem_ac_name(&wtpinfo->ac_name,type,msg,len) + #endif