if (conn->fd < 3) /* can happen when people abuse the interface */
return 0;
+ /*
+ * Rendezvous (client-client) connections do not speak
+ * FLAP, so this function will break on them.
+ */
+ if (conn->type > 0x01000)
+ return 0;
+
/*
* Read FLAP header. Six bytes:
*