Some work on wtp and ktv config files
FossilOrigin-Name: 3747732055809fd587f96cff65c389a0878a09a197947c1e68a76f605bdb44a0
This commit is contained in:
@ -27,7 +27,7 @@ static int init()
|
||||
static int detect(struct conn *conn, const uint8_t * rawmsg, int rawlen, int elems_len,
|
||||
struct sockaddr *from, int mode)
|
||||
{
|
||||
if (mode != MOD_MODE_BINDINGS)
|
||||
if (mode != CW_MOD_MODE_BINDINGS)
|
||||
return 0;
|
||||
|
||||
int wbid = cw_get_hdr_wbid(rawmsg);
|
||||
@ -41,7 +41,7 @@ static int detect(struct conn *conn, const uint8_t * rawmsg, int rawlen, int ele
|
||||
|
||||
static int register_actions(struct cw_actiondef *actions, int mode)
|
||||
{
|
||||
if (mode != MOD_MODE_BINDINGS)
|
||||
if (mode != CW_MOD_MODE_BINDINGS)
|
||||
return 0;
|
||||
|
||||
return capwap80211_register_actions_ac(actions);
|
||||
|
@ -26,7 +26,7 @@ static int init()
|
||||
static int detect(struct conn *conn, const uint8_t * rawmsg, int rawlen, int elems_len,
|
||||
struct sockaddr *from, int mode)
|
||||
{
|
||||
if (mode != MOD_MODE_BINDINGS)
|
||||
if (mode != CW_MOD_MODE_BINDINGS)
|
||||
return 0;
|
||||
|
||||
cw_log(LOG_INFO, "Detecting WTP 80211");
|
||||
@ -35,7 +35,7 @@ static int detect(struct conn *conn, const uint8_t * rawmsg, int rawlen, int ele
|
||||
|
||||
static int register_actions(struct cw_actiondef *actions,int mode)
|
||||
{
|
||||
if (mode != MOD_MODE_BINDINGS)
|
||||
if (mode != CW_MOD_MODE_BINDINGS)
|
||||
return 0;
|
||||
return capwap80211_register_actions_wtp(actions);
|
||||
}
|
||||
|
Reference in New Issue
Block a user