summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvenaas <venaas>2009-01-09 14:17:47 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2009-01-09 14:17:47 +0000
commit554d69f7ca4ee45cee6671f86ff30b9e469559c5 (patch)
tree459e643962e088f4d5875afa31e0b0d0b855705c
parent7aab13c06ae189b2342d7a98f2dade0c22078329 (diff)
removed an unnecessary check that failed on solaris
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@455 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r--udp.c5
1 files changed, 0 insertions, 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)