f4ebe841a5
FossilOrigin-Name: 8a43dd9d05a4cb73210243ddd8df2a26f16c7ef2c4d4e36ab446de1f65d88223
13 lines
283 B
C
13 lines
283 B
C
|
|
#include <time.h>
|
|
#include "cisco.h"
|
|
|
|
#include "cw/capwap_cisco.h"
|
|
|
|
int cisco_out_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);
|
|
}
|
|
|