Removed acinfo_readelem_ac_name
it's now a macro. FossilOrigin-Name: 02d6a975cfa4ed374295987ab3f33ea248b2775f4d80f41e55d1a51d3a9c7ea9
This commit is contained in:
parent
7c09de1b0c
commit
f4b261c717
@ -30,6 +30,7 @@
|
|||||||
#include "sock.h"
|
#include "sock.h"
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
int acinfo_readelem_ac_name(struct ac_info * acinfo,int type, uint8_t *msgelem, int len)
|
int acinfo_readelem_ac_name(struct ac_info * acinfo,int type, uint8_t *msgelem, int len)
|
||||||
{
|
{
|
||||||
if (type != CWMSGELEM_AC_NAME)
|
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);
|
cw_setstr(&acinfo->ac_name,msgelem,len);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
int acinfo_readelem_ac_descriptor(struct ac_info * acinfo,int type, uint8_t *msgelem, int len)
|
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)));
|
acip->wtp_count = ntohs( * ((uint16_t*)(msgelem+4)));
|
||||||
aciplist_add(acinfo->aciplist,acip);
|
aciplist_add(acinfo->aciplist,acip);
|
||||||
|
|
||||||
printf ("Read AC IP Elem %s\n",sock_addr2str(&acip->ip));
|
// printf ("Read AC IP Elem %s\n",sock_addr2str(&acip->ip));
|
||||||
printf ("WTP COUNT HERE %d\n",acip->wtp_count);
|
// printf ("WTP COUNT HERE %d\n",acip->wtp_count);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user