]> git.puffer.fish Git - mirror/frr.git/commitdiff
pbrd: add seqno to debug in pbr_send_pbr_map
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 2 Apr 2020 17:31:24 +0000 (13:31 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Thu, 9 Apr 2020 17:37:55 +0000 (13:37 -0400)
Add some more debug info for the sequence number we are
sending to zebra in pbr_send_pbr_map().

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
pbrd/pbr_zebra.c

index c2d93a405e387376e71eb91efc45a09aa2692a87..cb28015c1813a57f07da802516d9be66c8080dc4 100644 (file)
@@ -582,9 +582,9 @@ void pbr_send_pbr_map(struct pbr_map_sequence *pbrms,
         */
        stream_putl(s, 1);
 
-       DEBUGD(&pbr_dbg_zebra, "%s: \t%s %s %d %s %u", __func__,
-              install ? "Installing" : "Deleting", pbrm->name, install,
-              pmi->ifp->name, pmi->delete);
+       DEBUGD(&pbr_dbg_zebra, "%s: \t%s %s seq %u %d %s %u", __func__,
+              install ? "Installing" : "Deleting", pbrm->name, pbrms->seqno,
+              install, pmi->ifp->name, pmi->delete);
 
        pbr_encode_pbr_map_sequence(s, pbrms, pmi->ifp);