Inital commit.
FossilOrigin-Name: e59d23e61afb226401570f7cc7fa94eaef11d7b8501d927a8af4a002dc5aa9fb
This commit is contained in:
parent
f2d477ec97
commit
aef7388ce7
20
src/mod/cisco/cisco_in_ac_descriptor.c
Normal file
20
src/mod/cisco/cisco_in_ac_descriptor.c
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
#include "cw/cw.h"
|
||||
#include "cw/capwap_items.h"
|
||||
#include "cw/dbg.h"
|
||||
#include "cw/mbag.h"
|
||||
#include "cw/vendors.h"
|
||||
|
||||
int cisco_in_ac_descriptor(struct conn *conn, struct cw_action_in *a, uint8_t * data,
|
||||
int len, struct sockaddr *from)
|
||||
{
|
||||
static struct cw_descriptor_subelem_def allowed[] = {
|
||||
{CW_VENDOR_ID_CISCO,0, CW_ITEM_AC_HARDWARE_VERSION, 1024,1},
|
||||
{CW_VENDOR_ID_CISCO,1, CW_ITEM_AC_SOFTWARE_VERSION, 1024,1},
|
||||
{0,0, NULL,0, 0}
|
||||
};
|
||||
|
||||
|
||||
return cw_read_ac_descriptor(conn->config,data,len,allowed);
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user