mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 14:46:57 +00:00
Merge pull request #1796 from donaldsharp/32_silliness
pimd: Fix some compiler issues
This commit is contained in:
commit
f12f08f4c0
@ -35,6 +35,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <getopt.h>
|
||||||
|
|
||||||
#define MTRACEBIS_VERSION "0.1"
|
#define MTRACEBIS_VERSION "0.1"
|
||||||
#define MTRACE_TIMEOUT (5)
|
#define MTRACE_TIMEOUT (5)
|
||||||
|
@ -492,7 +492,7 @@ int igmp_mtrace_recv_qry_req(struct igmp_sock *igmp, struct ip *ip_hdr,
|
|||||||
if (PIM_DEBUG_MTRACE)
|
if (PIM_DEBUG_MTRACE)
|
||||||
zlog_warn(
|
zlog_warn(
|
||||||
"Recv mtrace packet from %s on %s: too short,"
|
"Recv mtrace packet from %s on %s: too short,"
|
||||||
" len=%d, min=%lu",
|
" len=%d, min=%zu",
|
||||||
from_str, ifp->name, igmp_msg_len,
|
from_str, ifp->name, igmp_msg_len,
|
||||||
sizeof(struct igmp_mtrace));
|
sizeof(struct igmp_mtrace));
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user