]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bfdd: Fixing coredump in log
authorSumitAgarwal123 <sumit.agarwal@broadcom.com>
Thu, 19 Sep 2019 10:04:48 +0000 (03:04 -0700)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 14 Oct 2019 17:32:05 +0000 (14:32 -0300)
Param missing in debug log, leading to coredump

Signed-off-by: Sayed Mohd Saquib <sayed.saquib@broadcom.com>
bfdd/bfd.c

index 1f1568f5114399dc439c830781591f4fccfa525e..89a097fed8660c595223ecd7b7e44a201daa4444 100644 (file)
@@ -1434,7 +1434,7 @@ struct bfd_session *bfd_key_lookup(struct bfd_key key)
        if (ctx.result) {
                bsp = ctx.result;
                log_debug(" peer %s found, but ifp"
-                         " and/or loc-addr params ignored");
+                         " and/or loc-addr params ignored", peer_buf);
        }
        return bsp;
 }