From c5cdcab59cafdcb59a09f36b1f788ad0f9c744af Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Sat, 18 Nov 2017 22:19:08 -0500 Subject: [PATCH] netd: unneccessary packet type check. --- Applications/netd/netd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.34.1