Modified for new dbg messages.

FossilOrigin-Name: f51b31ddc4b89266c32c5e7887f9eda3c399f3d800d4b3ecfefbedc2fa35e212
This commit is contained in:
7u83@mail.ru 2014-08-14 21:20:31 +00:00
parent b106d56a23
commit 8981cceefd

View File

@ -25,12 +25,13 @@
#include "conn.h"
#include "cwmsg.h"
#include "sock.h"
#include "cw_log.h"
void cwsend_discovery_response(struct conn * conn,int seqnum, struct radioinfo * radioinfo, struct ac_info * acinfo, struct wtpinfo * wtpinfo)
{
cw_log_debug1("Sending discovery response, seq = %d",seqnum);
cw_dbg(DBG_CW_MSG,"Sending discovery response to %s, seq = %d",sock_addr2str(&conn->addr),seqnum);
struct cwmsg * cwmsg = &conn->swm;
cwmsg_init(cwmsg,conn->buffer,CWMSG_DISCOVERY_RESPONSE,seqnum,radioinfo);