From 5d356c96f58e09ef6f8b8b225b5df35720e61519 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Mon, 27 Jun 2016 20:57:22 +0200 Subject: [PATCH] Minor: cleanup my last commit --- 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 c7ff7bb8..f648c75a 100644 --- a/src/core/raw.c +++ b/src/core/raw.c @@ -65,11 +65,11 @@ raw_input_match(struct raw_pcb *pcb, u8_t broadcast) #if LWIP_IPV4 && LWIP_IPV6 /* Dual-stack: PCBs listening to any IP type also listen to any IP address */ if(IP_IS_ANY_TYPE_VAL(pcb->local_ip)) { -#if LWIP_IPV4 && IP_SOF_BROADCAST_RECV +#if IP_SOF_BROADCAST_RECV if((broadcast != 0) && !ip_get_option(pcb, SOF_BROADCAST)) { return 0; } -#endif /* LWIP_IPV4 && IP_SOF_BROADCAST_RECV */ +#endif /* IP_SOF_BROADCAST_RECV */ return 1; } #endif /* LWIP_IPV4 && LWIP_IPV6 */