summaryrefslogtreecommitdiffstats
path: root/pbrd/pbr_vty.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-04-06 22:38:20 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-04-18 00:43:46 +0200
commit37c606ffbf9353de5d6a0e3332cec5228c185938 (patch)
treea91345d4e3cc22404fb9545c3e428140b354e86e /pbrd/pbr_vty.c
parentpbrd: Fix installation and deletion in some cases (diff)
downloadfrr-37c606ffbf9353de5d6a0e3332cec5228c185938.tar.xz
frr-37c606ffbf9353de5d6a0e3332cec5228c185938.zip
pbrd, zebra: Fix multiple pbr-policy install
Somewhere along the way the ability to install multiple pbr-policys for the same pbr-map was lost. Add this back. There is a limitation in that we are limited to 64 interfaces per pbr-policy. Ticket: CM-20429 Signed-off-by: Donald Sharp sharpd@cumulusnetworks.com>
Diffstat (limited to 'pbrd/pbr_vty.c')
-rw-r--r--pbrd/pbr_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbrd/pbr_vty.c b/pbrd/pbr_vty.c
index 18d8896fa..ae051ca96 100644
--- a/pbrd/pbr_vty.c
+++ b/pbrd/pbr_vty.c
@@ -395,7 +395,7 @@ DEFPY (show_pbr_map,
pbr_map_reason_string(pbrms->reason, rbuf,
sizeof(rbuf));
vty_out(vty,
- " Seq: %u rule: %u Installed: %d(%u) Reason: %s\n",
+ " Seq: %u rule: %u Installed: %" PRIu64 "(%u) Reason: %s\n",
pbrms->seqno, pbrms->ruleno, pbrms->installed,
pbrms->unique, pbrms->reason ? rbuf : "Valid");