Inital commit.

FossilOrigin-Name: d75cb1ce5121aed98afdd2dbd2548bea9c5875ddf5478776212db0f99da91b10
This commit is contained in:
7u83@mail.ru
2015-04-05 18:26:33 +00:00
parent ad25251444
commit a3f9db9d46
5 changed files with 95 additions and 0 deletions

View 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);
}