diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-04-04 15:42:35 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-04-17 21:57:11 +0900 |
commit | 93c955a415f39f7f8d2a97a8298a8985d5dadc2f (patch) | |
tree | 84d1fa1ede4242ad73e72703d4462f703df5a92a /config/bgp_configs.go | |
parent | 5323187cf10bb0e2cc361aca0cfd9e84396828b9 (diff) |
packet/bmp: Obsolete policy argument for BMPPeerHeader
According to "draft-evens-grow-bmp-local-rib", the L flag in the Peer
Flags is NOT used for the locally sourced routes and the F flag is
defined into the same bit.
This patch removes "policy" argument and add "flags" argument for
BMPPeerHeader and NewBMPPeerHeader in order to distinguish which flag
is set (the L flag or the F flag).
Then introduce IsPostPolicy() func to show if the L flag is set or not.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'config/bgp_configs.go')
0 files changed, 0 insertions, 0 deletions