From 7f7df4ae190d9d934d7a72e513513f5b03893759 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Wed, 28 Jul 2010 16:44:59 +0000 Subject: [PATCH] Fixed bug #30447: tcp.c:tcp_bind() - suspicious nested #if --- src/core/tcp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/tcp.c b/src/core/tcp.c index 18778d4c..30116a86 100644 --- a/src/core/tcp.c +++ b/src/core/tcp.c @@ -408,11 +408,9 @@ tcp_bind(struct tcp_pcb *pcb, ip_addr_t *ipaddr, u16_t port) We do not dump TIME_WAIT pcb's; they can still be matched by incoming packets using both local and remote IP addresses and ports to distinguish. */ -#if SO_REUSE if ((pcb->so_options & SOF_REUSEADDR) != 0) { max_pcb_list = NUM_TCP_PCB_LISTS_NO_TIME_WAIT; } -#endif /* SO_REUSE */ #endif /* SO_REUSE */ if (port == 0) {