| 19 |
19 |
| 20 if (!sess || !conn) |
20 if (!sess || !conn) |
| 21 return 0; |
21 return 0; |
| 22 |
22 |
| 23 if (conn->fd < 3) /* can happen when people abuse the interface */ |
23 if (conn->fd < 3) /* can happen when people abuse the interface */ |
| |
24 return 0; |
| |
25 |
| |
26 /* |
| |
27 * Rendezvous (client-client) connections do not speak |
| |
28 * FLAP, so this function will break on them. |
| |
29 */ |
| |
30 if (conn->type > 0x01000) |
| 24 return 0; |
31 return 0; |
| 25 |
32 |
| 26 /* |
33 /* |
| 27 * Read FLAP header. Six bytes: |
34 * Read FLAP header. Six bytes: |
| 28 * |
35 * |