diff options
Diffstat (limited to 'proto_igmp.c')
-rw-r--r-- | proto_igmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_igmp.c b/proto_igmp.c index 30fb527..6869fa6 100644 --- a/proto_igmp.c +++ b/proto_igmp.c @@ -373,7 +373,7 @@ static void dissect_igmp_v3_membership_query(struct pkt_buff *pkt) while (n--) { src_addr = (uint32_t *) pkt_pull(pkt, sizeof(*src_addr)); - if (src_addr != NULL) + if (src_addr == NULL) break; inet_ntop(AF_INET, src_addr, addr, sizeof(addr)); tprintf(", %s", addr); |