]> git.proxmox.com Git - mirror_frr.git/commit
staticd: simplify the northbound code
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 9 Jul 2021 19:55:29 +0000 (22:55 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 9 Jul 2021 19:58:45 +0000 (22:58 +0300)
commit4067e951407bbbdcdb8f4edb9c64763cd777476d
tree75c13be9ee6a60f7da70edd4aa5eae570188d0fc
parent3f8fcd2caa4fadeca9ecb8b432d28341d418cd2a
staticd: simplify the northbound code

Add a couple of back pointers to static route/path/nexthop structures to
simplify the NB code and save ~200 lines.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
staticd/static_nb_config.c
staticd/static_nht.c
staticd/static_routes.c
staticd/static_routes.h
staticd/static_zebra.c
staticd/static_zebra.h