]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
obsolete PCB handling only active when TCP is enabled
authorjani <jani>
Tue, 15 Apr 2003 14:58:35 +0000 (14:58 +0000)
committerjani <jani>
Tue, 15 Apr 2003 14:58:35 +0000 (14:58 +0000)
src/core/netif.c

index 58cb1cb331f4744525e6b5ec9f030e262c43bae9..44947f6d3e5192a7abd9c672f3c12eaf1150a4f5 100644 (file)
@@ -176,7 +176,7 @@ netif_set_ipaddr(struct netif *netif, struct ip_addr *ipaddr)
 {
   /* TODO: Handling of obsolete pcbs */
   /* See:  http://mail.gnu.org/archive/html/lwip-users/2003-03/msg00118.html */
-#if 1
+#if LWIP_TCP 
   struct tcp_pcb *pcb;
   struct tcp_pcb_listen *lpcb;