summaryrefslogtreecommitdiff
path: root/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'udp.c')
-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)