From 554d69f7ca4ee45cee6671f86ff30b9e469559c5 Mon Sep 17 00:00:00 2001 From: venaas Date: Fri, 9 Jan 2009 14:17:47 +0000 Subject: removed an unnecessary check that failed on solaris git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@455 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- udp.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/udp.c b/udp.c index 2c8ca7f..5054b0a 100644 --- a/udp.c +++ b/udp.c @@ -156,11 +156,6 @@ unsigned char *radudpget(int s, struct client **client, struct server **server, debug(DBG_WARN, "radudpget: recv failed"); continue; } - if (cnt < 20) { - debug(DBG_WARN, "radudpget: length too small"); - recv(s, buf, 4, 0); - continue; - } p = client ? find_clconf(handle, (struct sockaddr *)&from, NULL) -- cgit v1.1