diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-06-25 07:15:02 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-06-25 07:15:02 +0000 |
commit | ea9053b4f78be2da60fefca694c045a23699042d (patch) | |
tree | 423d55973bc0aa56ffeb115bae55a2aa3555bcec /filter.c | |
parent | 8f8923a33bc7ba0e726988e47090c6cc2ef2edf7 (diff) |
When checking to see if a packet is of a given type by checking the
source and destination port numbers, check both port numbers against the
specified port, rather than checking the lower of the two port numbers
against the specified port, just in case you happen to either have
1) the port number for that type being high enough that you can
get client sockets using it
or
2) client sockets using it for some other reason.
svn path=/trunk/; revision=333
Diffstat (limited to 'filter.c')
0 files changed, 0 insertions, 0 deletions