]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Merge pull request #6753 from mjstapp/fix_zebra_backup_sa
authorStephen Worley <sworley@cumulusnetworks.com>
Fri, 17 Jul 2020 21:29:49 +0000 (17:29 -0400)
committerGitHub <noreply@github.com>
Fri, 17 Jul 2020 21:29:49 +0000 (17:29 -0400)
zebra: fix SA warnings in backup nexthop code

1  2 
zebra/zebra_mpls.c
zebra/zebra_rib.c

index 996afd12dd9418c6011815b378303c3ef06bfc26,fe8f3a85b3ee7914c9b697e602a370068454a52d..27f1f9396c778f93c06bcb50416bbed55a035862
@@@ -3636,9 -3639,10 +3636,9 @@@ int zebra_mpls_static_lsp_add(struct ze
                        return 0;
  
                if (IS_ZEBRA_DEBUG_MPLS) {
-                       snhlfe2str(snhlfe, buf, BUFSIZ);
+                       snhlfe2str(snhlfe, buf, sizeof(buf));
                        zlog_debug(
 -                              "Upd static LSP in-label %u nexthop %s "
 -                              "out-label %u (old %u)",
 +                              "Upd static LSP in-label %u nexthop %s out-label %u (old %u)",
                                in_label, buf, out_label, snhlfe->out_label);
                }
                snhlfe->out_label = out_label;
Simple merge