diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-05-07 13:25:10 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-05-07 14:44:10 -0400 |
| commit | 04e1c5bb4a8a09d7a3bfaf0e4deb3955fa4f7fe0 (patch) | |
| tree | af105bf6e28e474697fcd9b862b06ec6cbbfec5b /lib/command_py.c | |
| parent | e8f95403e4b4d55c605ef49a0d772f30834134a4 (diff) | |
bgpd: fix maximum-prefix + peer-group
Attribute set on peer was being overridden when set on the peer-group.
This commit also adds a parallel flags array that indicates whether a
particular flag is sourced from the peer-group or is peer-specific. It
assumes the default state of all flags is unset. This looks to be true
except in the case of PEER_FLAG_SEND_COMMUNITY,
PEER_FLAG_SEND_EXT_COMMUNITY, and PEER_FLAG_SEND_LARGE_COMMUNITY; these
flags are set by default except when the user specifies to use
config-type = cisco. However the flag field can merely be flipped to
mean the negation of those options in a future commit.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
