]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: don't create Adv-ID:0.0.0.0 LSAs at start
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 28 Jun 2021 14:29:56 +0000 (16:29 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 20 Jul 2021 09:22:21 +0000 (11:22 +0200)
commit2e9db233b1029e85d79e39e30a197cba7219e201
tree4a992dd65ebb0117c23efc774184a16632272423
parentb08221513cc7b3fb071a263a0178d1044dfa770b
ospf6d: don't create Adv-ID:0.0.0.0 LSAs at start

When ospf6d comes up, it gets interface and address state before it
decides on its router ID.  This results in a bunch of LSAs with
advertising router ID 0.0.0.0 in the LSDB.  Not quite right.

There's a whole bunch of paths leading to this, so just drop the LSA in
ospf6_lsa_originate.  The router-ID change causes everything to be
readvertised anyway (... but the delete doesn't catch the 0.0.0.0 stuff
because the router-ID is now different.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ospf6d/ospf6_flood.c