]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd, lib: add zapi_route_set_nhg_id() support
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 12 Dec 2023 20:04:49 +0000 (21:04 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 18 Dec 2023 09:08:45 +0000 (10:08 +0100)
commitd8477d4bb534e37121c08b358fd923c703540ae0
tree81867837d754387a3348f8602622b120ba3dba3b
parent237ebf8d4503c841df8b3615f99b0c780bacccbd
bgpd, lib: add zapi_route_set_nhg_id() support

There is no function that both sets the nhg id, and sets
the ZAPI_MESSAGE_NHG flag if the nhg id is valid.
Create a ZAPI API to do this, and apply the changes wherever
needed.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_zebra.c
lib/zclient.h
sharpd/sharp_zebra.c