Tmp. debug prints.
FossilOrigin-Name: 760455c89dd7fe0e674e81386bb810096534932f08cdc649f6edbde736df7350
This commit is contained in:
parent
0947bdb5b9
commit
f07107a577
@ -27,6 +27,9 @@
|
|||||||
|
|
||||||
#include "acinfo.h"
|
#include "acinfo.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)
|
||||||
@ -128,6 +131,9 @@ 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 ("WTP COUNT HERE %d\n",acip->wtp_count);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user