Compiles AC agnain

FossilOrigin-Name: 7ffda1ccdbff310be265c73c1873a7cbf73a894c40c8849dbcaba5a91b4566b3
This commit is contained in:
7u83@mail.ru 2018-03-30 10:08:46 +00:00
parent 5a71866fbd
commit d0e8d2c6fd
4 changed files with 11 additions and 11 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<CodeLite_Workspace Name="actube" Database="">
<Project Name="ac" Path="ac.project" Active="No"/>
<Project Name="wtp" Path="wtp.project" Active="Yes"/>
<Project Name="ac" Path="ac.project" Active="Yes"/>
<Project Name="wtp" Path="wtp.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_cisco" Path="mod_cisco.project" Active="No"/>

View File

@ -5,14 +5,14 @@
#include "conf.h"
#include "cw/capwap.h"
#include "cw/aciplist.h"
/*#include "cw/aciplist.h"*/
#include "socklist.h"
#include "cw/sock.h"
#include "cw/dbg.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;
/*
cw_aciplist_t get_aciplist()
{
int i=0;
@ -52,8 +53,8 @@ cw_aciplist_t get_aciplist()
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);
@ -61,6 +62,7 @@ cw_aciplist_t get_aciplist()
return aciplist;
}
*/
@ -70,12 +72,12 @@ cw_aciplist_t get_aciplist()
/*
void * get_iplist(void * arg)
{
return get_aciplist();
}
*/
void release_iplist(void *arg,void *data)
{

View File

@ -11,7 +11,7 @@
#include "cw/capwap.h"
/*//#include "cw/capwap_80211.h"*/
#include "cw/aciplist.h"
/*#include "cw/aciplist.h"*/
/*

View File

@ -70,8 +70,6 @@ int cw_select_ac(mavl_t local_cfg,mlist_t aclist){
i++;
en++;
}while(1);
printf("Here we have an AC: %s\n",acname);
}