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.
Showing
- nest/protocol.h 1 addition, 0 deletionsnest/protocol.h
- nest/rt-table.c 4 additions, 32 deletionsnest/rt-table.c
- proto/babel/babel.c 7 additions, 0 deletionsproto/babel/babel.c
- proto/bgp/attrs.c 7 additions, 0 deletionsproto/bgp/attrs.c
- proto/bgp/bgp.c 1 addition, 0 deletionsproto/bgp/bgp.c
- proto/bgp/bgp.h 1 addition, 0 deletionsproto/bgp/bgp.h
- proto/ospf/ospf.c 7 additions, 0 deletionsproto/ospf/ospf.c
- proto/rip/rip.c 6 additions, 0 deletionsproto/rip/rip.c
Loading
Please register or sign in to comment