]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix route-map update and delete route-map
authorAbhinay Ramesh <rabhinay@vmware.com>
Mon, 7 Mar 2022 08:56:10 +0000 (08:56 +0000)
committerARShreenidhi <rshreenidhi@vmware.com>
Wed, 6 Jul 2022 05:38:35 +0000 (05:38 +0000)
commita9ae9fb5bbe0b54938041b63bf5c75711eb5d14f
treeddf65fb74bc4dc10a051a6d6c5fc3f383d7a83b0
parent46c4f05bb6bf7a3f708ce06cf400fe6a0c987366
bgpd: fix route-map update and delete route-map

Description:
- When there is change in route-map properties after
  setting the route-map with default route, changes
  will not reflect.
- When route-map associated with default-originate is
  deleted, default route doesn't get withdrawn.

- When there is change in route-map default-originate flow
  does not get triggered.

Fix:
- One of the flags needs to be unset for default-originate
  flow to get triggered after change in route-map.
  Have unset the flag, so that default originate flow can
  be triggered.

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