This commit is contained in:
7u83 2022-08-13 09:52:05 +02:00
parent 370942ef7e
commit 6dbf0bc706
1 changed files with 4 additions and 2 deletions

View File

@ -29,6 +29,7 @@
#include "capwap.h" #include "capwap.h"
#include "cw.h" #include "cw.h"
/*
static int write_header(struct cw_ElemHandler * handler, uint8_t * dst, int len) static int write_header(struct cw_ElemHandler * handler, uint8_t * dst, int len)
{ {
if (handler->vendor) if (handler->vendor)
@ -42,6 +43,7 @@ static int header_len(struct cw_ElemHandler * handler)
return handler->vendor ? 10 : 4; return handler->vendor ? 10 : 4;
} }
*/
/** /**
* Basic initialization of a conn object * Basic initialization of a conn object
@ -62,10 +64,10 @@ void conn_init(struct cw_Conn * conn)
conn->process_packet=conn_process_packet; conn->process_packet=conn_process_packet;
conn->process_message=process_message; conn->process_message=process_message;
/*
conn->write_header = write_header; conn->write_header = write_header;
conn->header_len = header_len; conn->header_len = header_len;
*/
} }