Initial commit
FossilOrigin-Name: 340bdfd2258222891cfad80e5c6d81b67066444a07e362b5d422e2913d0f6578
This commit is contained in:
parent
3780d05b9e
commit
c56c276abb
13
src/mod/capwap/capwap_out_get_idle_timeout.c
Normal file
13
src/mod/capwap/capwap_out_get_idle_timeout.c
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
#include "cw/action.h"
|
||||
#include "cw/capwap_items.h"
|
||||
|
||||
|
||||
struct mbag_item * capwap_out_get_idle_timeout(struct conn *conn,struct cw_action_out * a)
|
||||
{
|
||||
struct mbag_item * m = mbag_get(conn->config,CW_ITEM_IDLE_TIMEOUT);
|
||||
if (m)
|
||||
return m;
|
||||
|
||||
return mbag_set_dword(conn->config,CW_ITEM_IDLE_TIMEOUT,300);
|
||||
}
|
Loading…
Reference in New Issue
Block a user