]> git.ipfire.org Git - thirdparty/bird.git/commit
IGP metric getter refactoring to protocol callback
authorMaria Matejka <mq@ucw.cz>
Sat, 20 Mar 2021 22:18:34 +0000 (23:18 +0100)
committerMaria Matejka <mq@ucw.cz>
Wed, 13 Oct 2021 17:09:04 +0000 (19:09 +0200)
commitd471d5fc7ce587ed836ca7fa10a79331bc181d45
tree557c529dde26bf83da31b5ddcacd5d842d9421bd
parent5cff1d5f022755df61af6fc21cc4f2e5d384404e
IGP metric getter refactoring to protocol callback

Direct protocol hooks for IGP metric inside nest/rt-table.c make the
protocol API unnecessarily complex. Instead, we use a proper callback.
nest/protocol.h
nest/rt-table.c
proto/babel/babel.c
proto/bgp/attrs.c
proto/bgp/bgp.c
proto/bgp/bgp.h
proto/ospf/ospf.c
proto/rip/rip.c