diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-03 20:35:47 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-06-03 20:35:47 +0200 |
commit | b45fd5058fbcde2a4bbe72802d3bc785b3c6e6d6 (patch) | |
tree | 5ca5b2f3fd08c96fb0cc091ca17fb913084c6b4c | |
parent | build: remove AIX, NEC EWS and IRIX (diff) | |
download | frr-b45fd5058fbcde2a4bbe72802d3bc785b3c6e6d6.tar.xz frr-b45fd5058fbcde2a4bbe72802d3bc785b3c6e6d6.zip |
pimd: Fix compiler warning in pim_mroute.c
Another compiler another warning.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
-rw-r--r-- | pimd/pim_mroute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c index 5e1ab94b7..00051719a 100644 --- a/pimd/pim_mroute.c +++ b/pimd/pim_mroute.c @@ -87,7 +87,7 @@ pim_mroute_msg_nocache (int fd, struct interface *ifp, const struct igmpmsg *msg */ if ((rpg->rpf_addr.s_addr == INADDR_NONE) || (!pim_ifp) || - (!PIM_I_am_DR(pim_ifp)) || + (!(PIM_I_am_DR(pim_ifp))) || (pim_ifp->itype == PIM_INTERFACE_SSM)) return 0; @@ -154,7 +154,7 @@ pim_mroute_msg_wholepkt (int fd, struct interface *ifp, const char *buf, if ((rpg->rpf_addr.s_addr == INADDR_NONE) || (!pim_ifp) || - (!PIM_I_am_DR(pim_ifp)) || + (!(PIM_I_am_DR(pim_ifp))) || (pim_ifp->itype == PIM_INTERFACE_SSM)) { if (PIM_DEBUG_PIM_TRACE) { zlog_debug("%s: Failed Check send packet", __PRETTY_FUNCTION__); |