From: Donald Sharp Date: Fri, 23 Feb 2018 07:07:47 +0000 (-0500) Subject: pimd: Fix some compiler issues X-Git-Tag: frr-5.0-dev~215^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F1796%2Fhead;p=mirror%2Ffrr.git pimd: Fix some compiler issues Fix some compiler issues that were not picked up. Signed-off-by: Donald Sharp --- diff --git a/pimd/mtracebis.c b/pimd/mtracebis.c index 2032cdcfbe..1e7aee858a 100644 --- a/pimd/mtracebis.c +++ b/pimd/mtracebis.c @@ -35,6 +35,8 @@ #include #include #include +#include +#include #define MTRACEBIS_VERSION "0.1" #define MTRACE_TIMEOUT (5) diff --git a/pimd/pim_igmp_mtrace.c b/pimd/pim_igmp_mtrace.c index 629e10cb0c..feb326c45c 100644 --- a/pimd/pim_igmp_mtrace.c +++ b/pimd/pim_igmp_mtrace.c @@ -492,7 +492,7 @@ int igmp_mtrace_recv_qry_req(struct igmp_sock *igmp, struct ip *ip_hdr, if (PIM_DEBUG_MTRACE) zlog_warn( "Recv mtrace packet from %s on %s: too short," - " len=%d, min=%lu", + " len=%d, min=%zu", from_str, ifp->name, igmp_msg_len, sizeof(struct igmp_mtrace)); return -1;