]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_zebra.c
ospf6d: assign zebra router-id to ospf6 instance
authorChirag Shah <chirag@cumulusnetworks.com>
Tue, 27 Feb 2018 19:24:16 +0000 (11:24 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Thu, 1 Mar 2018 22:19:15 +0000 (14:19 -0800)
commit78c6ba61db8a84d1d262a9896e81bea97976753c
tree607d9fa931ef2de7d3653cc4c27399f4d157f485
parentc98f4d81aa5d4113ceea58ce6db4bebab5c99735
ospf6d: assign zebra router-id to ospf6 instance

Store zebra router-id in global structure.
Before router ospf6 instance created,
zebra router-id callback called.

During ospf6 main execution zebra init happens,
but default instance does not execute until
cli replay 'router ospf6'.
Call ospf6_router_id_change during 'router ospf6'
to assign zebra router id to ospf6 instance.

Ticket:CM-19937
Testing Done:
Assign Loopback /32 (6.6.6.6/32) address,
restart frr with (router ospf6 in frr.conf).
ospf6 default instance assigned 6.6.6.6 router-id.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospf6d/ospf6_main.c
ospf6d/ospf6_top.c
ospf6d/ospf6_top.h
ospf6d/ospf6_zebra.c