Capwap timers are send by the AC now.

FossilOrigin-Name: 1ed8f5d11629d5bff7118339de964f06840bcb85ef916c57c2a70658ad55cec8
This commit is contained in:
7u83@mail.ru
2016-03-15 18:23:41 +00:00
parent 5c192fbe27
commit 0b8f5bbace
6 changed files with 37 additions and 3 deletions

View File

@ -368,6 +368,8 @@ CW_MSG_MAXMSG = 26
#define CAPWAP_WAIT_DTLS 60
#define CAPWAP_WAIT_JOIN 60
#define CAPWAP_IDLE_TIMEOUT 300
#define CAPWAP_STATISTICS_TIMER 120

View File

@ -165,14 +165,14 @@ static inline int mbag_set_byte(mbag_t s, const char *id, uint8_t byte)
return 1;
}
static inline int mbag_set_word(mbag_t s, const char *id, uint16_t word)
static inline struct mbag_item * mbag_set_word(mbag_t s, const char *id, uint16_t word)
{
struct mbag_item *i = mbag_item_create(s, id);
if (!i)
return 0;
i->word = word;
i->type = &mbag_type_word;
return 1;
return i;
}