]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Update msg not being sent on removing route-map from default-originate config
authorIqra Siddiqui <imujeebsiddi@vmware.com>
Tue, 8 Mar 2022 07:53:07 +0000 (23:53 -0800)
committerARShreenidhi <rshreenidhi@vmware.com>
Wed, 6 Jul 2022 05:38:35 +0000 (05:38 +0000)
commit42427e3908350f13244f2478635d47002a643094
tree03337a202956408c70bad93c747bd3382d3b1bea
parenta9ae9fb5bbe0b54938041b63bf5c75711eb5d14f
bgpd: Update msg not being sent on removing route-map from default-originate config

Description:
- On removing just the route-map from the default-originate config,
  update message is not sent to the peer,
  and the properties set by route-map persists on peer's end,
  until we do a clear bgp.

Fix:
- The flag which is set when default route is originated,
  should be unset once "neighbor X.X.X.X default-orginate",
  to remove route-map from "neighbor X.X.X.X default-orginate route-map Y",
  so as to trigger the flow for sending an update.

Co-authored-by: Abhinay Ramesh <rabhinay@vmware.com>
Signed-off-by: Iqra Siddiqui <imujeebsiddi@vmware.com>
bgpd/bgpd.c