mirror of
https://github.com/solemnwarning/ipxwrapper
synced 2024-12-30 16:45:37 +01:00
Filter out SPX sockets when relaying IPX packets.
This commit is contained in:
parent
ae2837258f
commit
2ad2707f89
@ -213,9 +213,13 @@ static bool handle_recv(int fd)
|
||||
HASH_ITER(hh, sockets, sock, tmp)
|
||||
{
|
||||
if(
|
||||
/* Socket isn't SPX */
|
||||
|
||||
!(sock->flags & IPX_IS_SPX)
|
||||
|
||||
/* Socket is bound and not shutdown for recv. */
|
||||
|
||||
(sock->flags & IPX_BOUND) && (sock->flags & IPX_RECV)
|
||||
&& (sock->flags & IPX_BOUND) && (sock->flags & IPX_RECV)
|
||||
|
||||
/* Packet type filtering is off, or packet type matches
|
||||
* filter.
|
||||
|
Loading…
x
Reference in New Issue
Block a user