summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorPascal Mathis <mail@pascalmathis.com>2018-05-27 17:39:45 +0200
committerPascal Mathis <mail@pascalmathis.com>2018-05-28 19:20:25 +0200
commit27c05d4d43d14464b15582c700a511156c4ea2af (patch)
treee43a7f7624389b6a30bc7c241b8fee3577ba3ea1 /lib/command.c
parent70ee29b4db0465ce58da486d80aba5615fa04b2c (diff)
bgpd: Fix group overrides for inverted AF flags
This commit fixes peer-group overrides for inverted AF flags. This implementation is currently only being used by the three 'send-community' flags. Commit 70ee29b4d introduced generic support for overriding AF flags, but did not support inverted flags. By introducing an additional array on the BGP peer structure called 'af_flags_invert' all current and future flags which should work in an inverted way can now also be properly overridden. The CLI commands will work exactly the same way as before, just that 'no <command>' now sets the flag and override whereas '<command>' will unset the flag and remove the override. Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions