Compiles AC agnain
FossilOrigin-Name: 7ffda1ccdbff310be265c73c1873a7cbf73a894c40c8849dbcaba5a91b4566b3
This commit is contained in:
parent
5a71866fbd
commit
d0e8d2c6fd
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<CodeLite_Workspace Name="actube" Database="">
|
<CodeLite_Workspace Name="actube" Database="">
|
||||||
<Project Name="ac" Path="ac.project" Active="No"/>
|
<Project Name="ac" Path="ac.project" Active="Yes"/>
|
||||||
<Project Name="wtp" Path="wtp.project" Active="Yes"/>
|
<Project Name="wtp" Path="wtp.project" Active="No"/>
|
||||||
<Project Name="mod_cipwap" Path="mod_cipwap.project" Active="No"/>
|
<Project Name="mod_cipwap" Path="mod_cipwap.project" Active="No"/>
|
||||||
<Project Name="mod_capwap" Path="mod_capwap.project" Active="No"/>
|
<Project Name="mod_capwap" Path="mod_capwap.project" Active="No"/>
|
||||||
<Project Name="mod_cisco" Path="mod_cisco.project" Active="No"/>
|
<Project Name="mod_cisco" Path="mod_cisco.project" Active="No"/>
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
#include "conf.h"
|
#include "conf.h"
|
||||||
#include "cw/capwap.h"
|
#include "cw/capwap.h"
|
||||||
|
|
||||||
#include "cw/aciplist.h"
|
/*#include "cw/aciplist.h"*/
|
||||||
#include "socklist.h"
|
#include "socklist.h"
|
||||||
#include "cw/sock.h"
|
#include "cw/sock.h"
|
||||||
#include "cw/dbg.h"
|
#include "cw/dbg.h"
|
||||||
|
|
||||||
#include "wtpman.h"
|
#include "wtpman.h"
|
||||||
|
|
||||||
struct cw_ac_status ac_status;
|
/*struct cw_ac_status ac_status;*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -20,6 +20,7 @@ struct cw_ac_status ac_status;
|
|||||||
|
|
||||||
mavl_t actube_global_cfg;
|
mavl_t actube_global_cfg;
|
||||||
|
|
||||||
|
/*
|
||||||
cw_aciplist_t get_aciplist()
|
cw_aciplist_t get_aciplist()
|
||||||
{
|
{
|
||||||
int i=0;
|
int i=0;
|
||||||
@ -52,8 +53,8 @@ cw_aciplist_t get_aciplist()
|
|||||||
acip->index=3;
|
acip->index=3;
|
||||||
|
|
||||||
|
|
||||||
/*// printf ("Adding IP %s\n",sock_addr2str(&acip->ip));
|
/ * // printf ("Adding IP %s\n",sock_addr2str(&acip->ip));
|
||||||
*/
|
* /
|
||||||
cw_aciplist_add(aciplist,acip);
|
cw_aciplist_add(aciplist,acip);
|
||||||
|
|
||||||
|
|
||||||
@ -61,6 +62,7 @@ cw_aciplist_t get_aciplist()
|
|||||||
return aciplist;
|
return aciplist;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -70,12 +72,12 @@ cw_aciplist_t get_aciplist()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
void * get_iplist(void * arg)
|
void * get_iplist(void * arg)
|
||||||
{
|
{
|
||||||
return get_aciplist();
|
return get_aciplist();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
void release_iplist(void *arg,void *data)
|
void release_iplist(void *arg,void *data)
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#include "cw/capwap.h"
|
#include "cw/capwap.h"
|
||||||
/*//#include "cw/capwap_80211.h"*/
|
/*//#include "cw/capwap_80211.h"*/
|
||||||
#include "cw/aciplist.h"
|
/*#include "cw/aciplist.h"*/
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -70,8 +70,6 @@ int cw_select_ac(mavl_t local_cfg,mlist_t aclist){
|
|||||||
i++;
|
i++;
|
||||||
en++;
|
en++;
|
||||||
}while(1);
|
}while(1);
|
||||||
printf("Here we have an AC: %s\n",acname);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user