Added functionality to print transport header debugs via hdr_print. (For hdr_print see libcapwap)
FossilOrigin-Name: b92e12c81585fa1b14c9221276745a3c53638c7ffec563bb8f5f5e37039cb36f
This commit is contained in:
parent
32a1652a06
commit
a9da5a53ac
@ -190,6 +190,11 @@ void process_cw_ctrl_packet(int index,struct sockaddr * addr, uint8_t * buffer,
|
||||
{
|
||||
int sock = socklist[index].reply_sockfd;
|
||||
|
||||
char hdrstr[1024];
|
||||
hdr_print(hdrstr,buffer,len);
|
||||
cw_log_debug2("Header\n%s\n",hdrstr);
|
||||
|
||||
|
||||
|
||||
/* first of all check preamble */
|
||||
int preamble = CWTH_GET_PREAMBLE(buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user