]> git.proxmox.com Git - mirror_frr.git/commitdiff
sharpd: Adjust TED builder
authorOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 30 Mar 2023 16:15:57 +0000 (18:15 +0200)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 30 Mar 2023 16:19:32 +0000 (18:19 +0200)
Following correction of IS-IS subnet creation, this patch adjust the way the
TED is created in sharpd to automatically adjust subnet deletion.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
sharpd/sharp_zebra.c

index 17ad70596968e02ff845e0dd55aa3cf97f238f72..91fb7f03b107c822e6de1b54fc7a31b606493ebf 100644 (file)
@@ -790,7 +790,7 @@ static int sharp_opaque_handler(ZAPI_CALLBACK_ARGS)
                   zclient->session_id, info.type);
 
        if (info.type == LINK_STATE_UPDATE) {
-               lse = ls_stream2ted(sg.ted, s, false);
+               lse = ls_stream2ted(sg.ted, s, true);
                if (lse) {
                        zlog_debug(" |- Got %s %s from Link State Database",
                                   status2txt[lse->status],