summaryrefslogtreecommitdiffstats
path: root/ripngd
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-01-04 22:08:10 +0100
committerRenato Westphal <renato@opensourcerouting.org>2019-01-18 19:15:41 +0100
commit045c5389c26347d47b2af6020c3a122398f13efb (patch)
tree82470cd9147b5032bac1d74a2e5b0d6eb42722c3 /ripngd
parentripd: clear list of peers when RIP is deconfigured (diff)
downloadfrr-045c5389c26347d47b2af6020c3a122398f13efb.tar.xz
frr-045c5389c26347d47b2af6020c3a122398f13efb.zip
ripd: remove the rip global variable
This is the last step to make ripd ready for multi-instance support. Remove the rip global variable and add a "rip" parameter to all functions that need to know the RIP instance they are working on. On some functions, retrieve the RIP instance from the interface variable when it exists (this assumes interfaces can pertain to one RIP instance at most, which is ok for VRF support). In preparation for the next commits (VRF support), add a "vrd_id" member to the rip structure, and use rip->vrf_id instead of VRF_DEFAULT wherever possible. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripngd')
0 files changed, 0 insertions, 0 deletions