From f4b261c717199bc2ae1d3d61a2ad21fac289e84a Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Thu, 14 Aug 2014 23:30:43 +0000 Subject: [PATCH] Removed acinfo_readelem_ac_name it's now a macro. FossilOrigin-Name: 02d6a975cfa4ed374295987ab3f33ea248b2775f4d80f41e55d1a51d3a9c7ea9 --- src/capwap/acinfo.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/capwap/acinfo.c b/src/capwap/acinfo.c index 5d504846..f9244e3e 100644 --- a/src/capwap/acinfo.c +++ b/src/capwap/acinfo.c @@ -30,6 +30,7 @@ #include "sock.h" +/* int acinfo_readelem_ac_name(struct ac_info * acinfo,int type, uint8_t *msgelem, int len) { if (type != CWMSGELEM_AC_NAME) @@ -37,7 +38,7 @@ int acinfo_readelem_ac_name(struct ac_info * acinfo,int type, uint8_t *msgelem, cw_setstr(&acinfo->ac_name,msgelem,len); return 1; } - +*/ int acinfo_readelem_ac_descriptor(struct ac_info * acinfo,int type, uint8_t *msgelem, int len) { @@ -131,8 +132,8 @@ int acinfo_readelem_ctrl_ip_addr(struct ac_info * acinfo, int type, uint8_t*msge acip->wtp_count = ntohs( * ((uint16_t*)(msgelem+4))); aciplist_add(acinfo->aciplist,acip); - printf ("Read AC IP Elem %s\n",sock_addr2str(&acip->ip)); - printf ("WTP COUNT HERE %d\n",acip->wtp_count); +// printf ("Read AC IP Elem %s\n",sock_addr2str(&acip->ip)); +// printf ("WTP COUNT HERE %d\n",acip->wtp_count); return 1;