From: Stephen Worley Date: Fri, 17 Jul 2020 21:29:49 +0000 (-0400) Subject: Merge pull request #6753 from mjstapp/fix_zebra_backup_sa X-Git-Tag: base_7.5~176 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=55528234eae823d14b808527d90fa003cd424552;p=matthieu%2Ffrr.git Merge pull request #6753 from mjstapp/fix_zebra_backup_sa zebra: fix SA warnings in backup nexthop code --- 55528234eae823d14b808527d90fa003cd424552 diff --cc zebra/zebra_mpls.c index 996afd12dd,fe8f3a85b3..27f1f9396c --- a/zebra/zebra_mpls.c +++ b/zebra/zebra_mpls.c @@@ -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;