diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-20 09:56:12 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-20 09:56:12 -0400 |
| commit | b9269f82822a64ca4bd68c338bcfd39593145ff1 (patch) | |
| tree | 9a48440ee3bdbad49998ee58a1f47427f83d7081 /lib/sockunion.c | |
| parent | 9d4542919f1c71c61841234b32d027e36ae74a42 (diff) | |
bgpd: Note routemap information even if peer not activated.
If upon bgp startup we have this config:
router bgp 64540
neighbor 192.168.201.134 remote-as external
!
address-family ipv4 unicast
no neighbor 192.168.201.134 activate
neighbor 192.168.201.134 route-map NEXTHOP in
exit-address-family
The route-map map pointer for the incoming(or outgoing)
filter was not being saved due to a pre-mature optimization
of not handling the routemap callback if the peer is not
activated. The function that handles the peers route-maps
is making sure that the peer is in established state
before attempting to actually apply anything so just
call it to set the map pointer.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/sockunion.c')
0 files changed, 0 insertions, 0 deletions
