some corrections

FossilOrigin-Name: 918eb9ba337f7773ef4cccbb57a4ce7bf3f580e4d322a70d9a6a598fa7ea9cd2
This commit is contained in:
7u83@mail.ru 2014-07-19 18:36:33 +00:00
parent beb638629a
commit 635ff3780c
1 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ void process_ctrl_packet(int index,struct sockaddr * addr, uint8_t * buffer, int
#ifdef WITH_CW_LOG_DEBUG
char str[100];
sock_addrtostr(addr,str,100);
cw_log_debug0("Received packet from %s, len = %i, via %s\n",str,len,
cw_log_debug1("Received packet from %s, len = %i, via %s\n",str,len,
socklist[index].type==SOCKLIST_UNICAST_SOCKET ? "unicast":"bcast/mcast");
cw_log_debug2_dump(buffer,len,"Packet data for packet, recevied from %s",str);
#endif
@ -187,7 +187,7 @@ void process_ctrl_packet(int index,struct sockaddr * addr, uint8_t * buffer, int
#else
if (preamble != CAPWAP_PACKET_PREAMBLE ){
#endif
cw_log_debug0("Discarding packet, wrong preamble, preamble = 0x%01X",preamble);
cw_log_debug1("Discarding packet, wrong preamble, preamble = 0x%01X",preamble);
return;
}