From 9a2d97ec41f90d2d353f26bee620cd06b856d548 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 11 Jan 2010 09:51:33 +0000 Subject: [PATCH] Fixed bug #28551 (Compiler warning introduced with closed bug #28506) --- src/core/raw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/raw.c b/src/core/raw.c index 0a4d11cf..d7583827 100644 --- a/src/core/raw.c +++ b/src/core/raw.c @@ -93,8 +93,8 @@ raw_input(struct pbuf *p, struct netif *inp) /* this allows multiple pcbs to match against the packet by design */ while ((eaten == 0) && (pcb != NULL)) { if ((pcb->protocol == proto) && - (ip_addr_isany(&pcb->local_ip)) || - ip_addr_cmp(&(pcb->local_ip), &(iphdr->dest))) { + (ip_addr_isany(&pcb->local_ip) || + ip_addr_cmp(&(pcb->local_ip), &(iphdr->dest)))) { #if IP_SOF_BROADCAST_RECV /* broadcast filter? */ if ((pcb->so_options & SOF_BROADCAST) || !ip_addr_isbroadcast(&(iphdr->dest), inp))