summaryrefslogtreecommitdiffstats
path: root/bfdd
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2019-02-04 16:51:24 +0100
committerRafael Zalamena <rzalamena@opensourcerouting.org>2019-02-14 17:18:23 +0100
commite945606e1ecaf84e9c8b3dab844871b7fa4bce1e (patch)
tree8de8f166904b4ff0db4cf69b3226035924a01cdc /bfdd
parentbfdd: apply new timers on on-going connections (diff)
downloadfrr-e945606e1ecaf84e9c8b3dab844871b7fa4bce1e.tar.xz
frr-e945606e1ecaf84e9c8b3dab844871b7fa4bce1e.zip
bfdd: fix discriminator mismatch log message
The discriminator is an unsigned 32bit variable. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'bfdd')
-rw-r--r--bfdd/bfd_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfdd/bfd_packet.c b/bfdd/bfd_packet.c
index 6397feb80..674c9bf9e 100644
--- a/bfdd/bfd_packet.c
+++ b/bfdd/bfd_packet.c
@@ -617,7 +617,7 @@ int bfd_recv_cb(struct thread *t)
if ((bfd->discrs.remote_discr != 0)
&& (bfd->discrs.remote_discr != ntohl(cp->discrs.my_discr)))
cp_debug(is_mhop, &peer, &local, ifindex, vrfid,
- "remote discriminator mismatch (expected %d, got %d)",
+ "remote discriminator mismatch (expected %u, got %u)",
bfd->discrs.remote_discr, ntohl(cp->discrs.my_discr));
bfd->discrs.remote_discr = ntohl(cp->discrs.my_discr);