Renamed cw_put_msg to cw_assemble_message

This commit is contained in:
2022-08-10 13:16:09 +02:00
parent 9e54e46e45
commit c5e1abb842
10 changed files with 156 additions and 160 deletions

View File

@ -10,7 +10,7 @@
#include "cfg.h"
int configure(struct conn * conn)
int configure(struct cw_Conn * conn)
{
char sockbuff[SOCK_ADDR_BUFSIZE];

View File

@ -153,7 +153,7 @@ static int run_discovery(struct cw_Conn *conn, struct cw_DiscoveryResult * dis)
/* create and send a discovery request message */
cw_init_request(conn, CAPWAP_MSG_DISCOVERY_REQUEST);
cw_put_msg(conn, conn->req_buffer);
cw_assemble_message(conn, conn->req_buffer);
conn_send_msg(conn, conn->req_buffer);