Removed ktv stuff and switched to cfg
This commit is contained in:
parent
9452589625
commit
8db182a303
@ -5,6 +5,7 @@
|
||||
#include "cw/val.h"
|
||||
#include "cw/keys.h"
|
||||
#include "cw/dtls.h"
|
||||
#include "cw/cfg.h"
|
||||
|
||||
#include "mod_capwap.h"
|
||||
|
||||
@ -15,16 +16,15 @@ static int init(struct cw_Mod * mod, mavl_t global_cfg, int role)
|
||||
switch (role){
|
||||
case CW_ROLE_AC:{
|
||||
cw_dbg(DBG_MOD, "CAPWAP: Initialiazing mod_capwap in AC mode");
|
||||
cw_ktv_add_from_str(global_cfg,
|
||||
cw_cfg_set(global_cfg,
|
||||
"capwap/ac-descriptor/hardware/version",
|
||||
CW_TYPE_BSTR16,NULL,"0.0.0.1");
|
||||
cw_ktv_add_from_str(global_cfg,
|
||||
"capwap/ac-descriptor/hardware/vendor",CW_TYPE_DWORD,NULL,"0");
|
||||
cw_ktv_add_from_str(global_cfg,
|
||||
"capwap/ac-descriptor/software/version",
|
||||
CW_TYPE_BSTR16, NULL, "0.0.0.1");
|
||||
cw_ktv_add_from_str(global_cfg,
|
||||
"capwap/ac-descriptor/software/vendor",CW_TYPE_DWORD, NULL, "0");
|
||||
"0.0.0.1");
|
||||
cw_cfg_set(global_cfg,
|
||||
"capwap/ac-descriptor/hardware/vendor","0");
|
||||
cw_cfg_set(global_cfg,
|
||||
"capwap/ac-descriptor/software/version","0.0.0.1");
|
||||
cw_cfg_set(global_cfg,
|
||||
"capwap/ac-descriptor/software/vendor", "0");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user