2015-04-05 20:26:33 +02:00
|
|
|
|
|
|
|
#include <time.h>
|
2016-02-29 07:49:47 +01:00
|
|
|
#include "cisco.h"
|
2015-04-05 20:26:33 +02:00
|
|
|
|
2016-03-03 20:46:20 +01:00
|
|
|
#include "cw/capwap_cisco.h"
|
2016-02-29 07:49:47 +01:00
|
|
|
|
|
|
|
int cisco_out_ap_timesync(struct conn *conn,struct cw_action_out * a,uint8_t *dst)
|
2015-04-05 20:26:33 +02:00
|
|
|
{
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|