Inital commit.
FossilOrigin-Name: d75cb1ce5121aed98afdd2dbd2548bea9c5875ddf5478776212db0f99da91b10
This commit is contained in:
10
src/capwap/cw_out_cisco_ap_timesync.c
Normal file
10
src/capwap/cw_out_cisco_ap_timesync.c
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
#include <time.h>
|
||||
#include "capwap_cisco.h"
|
||||
|
||||
int cw_out_cisco_ap_timesync(struct conn *conn,struct cw_action_out * a,uint8_t *dst)
|
||||
{
|
||||
int l = cw_put_cisco_ap_timesync(dst+10,time(NULL),0);
|
||||
return l + cw_put_elem_vendor_hdr(dst, a->vendor_id, a->elem_id, l);
|
||||
}
|
||||
|
Reference in New Issue
Block a user