]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Used %pBD instead of %pRN
authorDonald Sharp <sharpd@nvidia.com>
Mon, 13 Nov 2023 15:26:48 +0000 (10:26 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 13 Nov 2023 15:28:28 +0000 (10:28 -0500)
commit12deca05a58b05f9bcdf4ab22569fd0aea4a3ca8
treec7c3d242af3ad2e139b44013ff60a19a8fd75c44
parentc62c0181f07241fa3beb0a3aec3c39401ed8e5c7
bgpd: Used %pBD instead of %pRN

Let's use the natural data structure in bgp for the prefix display
instead of a bunch of places where we call a translator function.
The %pBD does this and actually ensures data is correct.
Also fix a few spots in bgp_zebra.c where the cast to a NULL
pointer causes the catcher functionality to not work and fix
the resulting crash that resulted.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_label.c
bgpd/bgp_mpath.c
bgpd/bgp_updgrp_adv.c
bgpd/bgp_zebra.c