Getting capwap timers from conn->local.
FossilOrigin-Name: 005d392bb2d208d345152f1245dea8215aabeca97b4307f3cca35f74c0c1b0e0
This commit is contained in:
parent
626043a503
commit
0f2c02b32a
@ -17,9 +17,9 @@ struct mbag_item * capwap_out_get_idle_timeout(struct conn *conn,struct cw_actio
|
|||||||
|
|
||||||
struct mbag_item * capwap_out_get_capwap_timers(struct conn *conn,struct cw_action_out * a)
|
struct mbag_item * capwap_out_get_capwap_timers(struct conn *conn,struct cw_action_out * a)
|
||||||
{
|
{
|
||||||
struct mbag_item * m = mbag_get(conn->config,CW_ITEM_CAPWAP_TIMERS);
|
struct mbag_item * m = mbag_get(conn->local,CW_ITEM_CAPWAP_TIMERS);
|
||||||
if (m)
|
if (m)
|
||||||
return m;
|
return m;
|
||||||
|
|
||||||
return mbag_set_word(conn->config,CW_ITEM_CAPWAP_TIMERS,CAPWAP_MAX_DISCOVERY_INTERVAL<<8 | CAPWAP_ECHO_INTERVAL);
|
return mbag_set_word(conn->local,CW_ITEM_CAPWAP_TIMERS,CAPWAP_MAX_DISCOVERY_INTERVAL<<8 | CAPWAP_ECHO_INTERVAL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user