Merge pull request #15915 from opensourcerouting/build-format-suseconds
lib, gcc-plugin: fix 64-bit time_t prints
af6eecc...
by
Donatas Abraitis <email address hidden>
Merge pull request #15924 from chiragshah6/fdev5
bgpd: [GR] fix mode change vtysh return code
d81740e...
by
Donatas Abraitis <email address hidden>
Merge pull request #15921 from cscarpitta/bgp-fix-srv6-locator-delete-crash
bgpd: Fix crash when deleting the SRv6 locator
bdc2c7b...
by
Carmine Scarpitta <email address hidden>
bgpd: Fix the order of NULL check and ZAPI decode
When BGP receives an SRV6_LOCATOR_ADD message from zebra, it calls the
`bgp_zebra_process_srv6_locator_add()` function to process the message.
`bgp_zebra_process_srv6_locator_add()` decodes the message first, and
then if the pointer to the default BGP instance is NULL (i.e. the
default BGP instance is not configured yet), it returns early without
doing anything and without using the decoded message information.
This commit fixes the order of the operations executed by
`bgp_zebra_process_srv6_locator_add()`. We first ensure that the default
BGP instance is ready and we return early if it is not. Then, we decode
the message and do something with the information contained in it.
When a bgp neighbor graceful-restart config mode change
is applied, after accepting the config if it does not
take effect instead of throwing vtysh error code,
return the success to vtysh and warn the user.
The debug log is already present at critical code point
where GR failure is seen during config apply.
Ticket: #3761481
Testing Done:
root@tor-1:# vtysh -c 'config t' -c 'router bgp 65564
vrf VRF2' -c 'neighbor 20.1.1.1 graceful-restart'
As part of configuring graceful-restart, capability send to zebra failed
root@tor-1:# echo $?
0
Signed-off-by: Chirag Shah <email address hidden>
f34ecf1...
by
Donatas Abraitis <email address hidden>
Merge pull request #15917 from anlancs/isisd/fix-display-route
isisd: adjust the format of display command
d0401cb...
by
Donatas Abraitis <email address hidden>
Merge pull request #15607 from chiragshah6/evpn_dev4