]> git.puffer.fish Git - mirror/frr.git/commit
zclient: fix router-id calculation for IPv6 (#595)
authorDmitry Tejblum <tejblum@yandex-team.ru>
Mon, 18 Oct 2010 15:05:39 +0000 (19:05 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 18 Oct 2010 15:05:39 +0000 (19:05 +0400)
commit08a7a91646a1ee317c402b421e3a7036a640bcf4
tree59dc48ed11f69a61cd282783ffab25f30073f334
parent4c9641ba4df276080c670e03f65b1d442660a50f
zclient: fix router-id calculation for IPv6 (#595)

If router-id is not specified in ospf6d.conf, ospf6d will get it from
the zebra daemon. But ospf6d originates Link LSAs before the router-id
is returned by zebra, thus this router's Link LSAs will be flooded
with AdvRouter set to 0.

* zclient.c: zclient_start(): send ZEBRA_INTERFACE_ADD message after
  ZEBRA_ROUTER_ID_ADD, not before
lib/zclient.c