Inital commit.
FossilOrigin-Name: d4dab43da113a0c96fd3668cb15f4288ec5563581bd34e77150931a79c994750
This commit is contained in:
10
src/capwap/cwmsg_addelem_maximum_message_length.c
Normal file
10
src/capwap/cwmsg_addelem_maximum_message_length.c
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
#include "capwap.h"
|
||||
|
||||
void cwmsg_addelem_maximum_message_length(struct cwmsg *msg,int len)
|
||||
{
|
||||
uint8_t c[2];
|
||||
*((uint16_t*)c)= htons(len);
|
||||
cwmsg_addelem(msg,CWMSGELEM_MAXIMUM_MESSAGE_LENGTH,c,4);
|
||||
}
|
||||
|
Reference in New Issue
Block a user