@@ -191,5 +191,9 @@
#define VERSION_COLUMN "version"
#define TABLENAME_COLUMN "table_name"
+/* minimum packet size; smaller packets will be dropped silently */
+#define MIN_UDP_PACKET 32
+
#endif
@@ -330,7 +330,7 @@ int udp_rcv_loop()
buf[len]=0; /* no need to save the previous char */
#ifndef NO_ZERO_CHECKS
- if (len<5) {
+ if (len<MIN_UDP_PACKET) {
DBG("DEBUG: probing packet received\n");
continue;
}