]> git.proxmox.com Git - mirror_frr.git/commit - lib/nexthop_group.c
lib: break up show nexthop API a bit for reuse
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 18 Aug 2020 20:53:44 +0000 (16:53 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 27 Aug 2020 20:13:48 +0000 (16:13 -0400)
commit79924520085ec6a7ac368e62226e3ad5ff9cc025
treec06fb55f0ffd1c1d47c39a1c41d8a9b02eba1e46
parentda2f67007844948e5d0d2ecdf24ae7124468e47a
lib: break up show nexthop API a bit for reuse

Not everything cares about the vrf and backup info. Break
up the API to add a simple version to just write gateway/interface
info.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/nexthop_group.c
lib/nexthop_group.h