From: Christian Herdtweck Date: Thu, 19 Feb 2015 08:32:44 +0000 (+0100) Subject: make check for end of loop in icmppacketdistributor more understandable (|= --> =) X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=6ae373b895061dafdea3f137661699919b80a201;p=pingcheck make check for end of loop in icmppacketdistributor more understandable (|= --> =) --- diff --git a/src/icmp/icmppinger.cpp b/src/icmp/icmppinger.cpp index d5c2b50..9d2f864 100644 --- a/src/icmp/icmppinger.cpp +++ b/src/icmp/icmppinger.cpp @@ -516,7 +516,7 @@ void IcmpPacketDistributor::handle_receive( bool packet_matches = false; BOOST_FOREACH( const IcmpPingerItem &pinger, PingerList ) { - packet_matches |= pinger->handle_receive_icmp_packet( + packet_matches = pinger->handle_receive_icmp_packet( icmp_packet, bytes_transferred); if (packet_matches) break;