Tmp. debug prints.

FossilOrigin-Name: 760455c89dd7fe0e674e81386bb810096534932f08cdc649f6edbde736df7350
This commit is contained in:
7u83@mail.ru 2014-07-28 04:51:48 +00:00
parent 0947bdb5b9
commit f07107a577
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,9 @@
#include "acinfo.h"
#include "sock.h"
int acinfo_readelem_ac_name(struct ac_info * acinfo,int type, uint8_t *msgelem, int len)
{
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)));
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;
}