From 6ae373b895061dafdea3f137661699919b80a201 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Thu, 19 Feb 2015 09:32:44 +0100 Subject: [PATCH] make check for end of loop in icmppacketdistributor more understandable (|= --> =) --- src/icmp/icmppinger.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; -- 1.7.1