summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorPascal Mathis <mail@pascalmathis.com>2018-06-13 02:34:43 +0200
committerPascal Mathis <mail@pascalmathis.com>2018-06-14 18:55:30 +0200
commitb90a8e13eea49404d72dd0cdf94343d8a1831d69 (patch)
tree43e7622848ad0e82fe3a7c0b50791e7e8b7fa393 /lib/command.c
parent598a3d428806fe3b48089952d703027548cf3405 (diff)
bgpd: Implement group-overrides for peer timers
This commit implements BGP peer-group overrides for the timer flags, which control the value of the hold, keepalive, advertisement-interval and connect connect timers. It was kept separated on purpose as the whole timer implementation is quite complex and merging this commit together with with the other flag implementations did not seem right. Basically three new peer flags were introduced, namely *PEER_FLAG_ROUTEADV*, *PEER_FLAG_TIMER* and *PEER_FLAG_TIMER_CONNECT*. The overrides work exactly the same way as they did before, but introducing these flags made a few conditionals simpler as they no longer had to compare internal data structures against eachother. Last but not least, the test suite has been adjusted accordingly to test the newly implemented flag overrides. Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions