From: Brett Gordon Date: Sun, 19 Nov 2017 03:19:08 +0000 (-0500) Subject: netd: unneccessary packet type check. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c5cdcab59cafdcb59a09f36b1f788ad0f9c744af;p=FUZIX.git netd: unneccessary packet type check. --- diff --git a/Applications/netd/netd.c b/Applications/netd/netd.c index f8945fd4..595a3e61 100644 --- a/Applications/netd/netd.c +++ b/Applications/netd/netd.c @@ -559,9 +559,7 @@ int dokernel( void ) ksend( NE_NEWSTATE ); m->conn->userrequest = 1; c = conptr - uip_conns; - if (sm.s.s_type == SOCKTYPE_TCP) - activity |= (1 << c); - break; + activity |= (1 << c); } else if ( sm.s.s_type == SOCKTYPE_UDP ){ struct uip_udp_conn *conptr;