]> git.proxmox.com Git - mirror_frr.git/commitdiff
ospf6d: interface state needs update even w/o area
authorDavid Lamparter <equinox@diac24.net>
Tue, 17 Sep 2019 14:15:32 +0000 (16:15 +0200)
committerDavid Lamparter <equinox@diac24.net>
Tue, 17 Sep 2019 14:15:32 +0000 (16:15 +0200)
We can't skip reading interface state if there's no area yet, we'll be
missing information later when the interface is configured.

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

index 692c84ad08e7f7f82c144f4a4f3ce631fe222782..8fd2755500ebe47659a0795ae7601d9a424773dd 100644 (file)
@@ -355,8 +355,6 @@ void ospf6_interface_state_update(struct interface *ifp)
        oi = (struct ospf6_interface *)ifp->info;
        if (oi == NULL)
                return;
-       if (oi->area == NULL)
-               return;
        if (CHECK_FLAG(oi->flag, OSPF6_INTERFACE_DISABLE))
                return;