Merged in FreeBSD fixes.
This commit is contained in:
pdw
2002-10-21 13:08:23 +00:00
parent 7a997c4ec2
commit 8010c98d26
8 changed files with 15 additions and 5 deletions

View File

@@ -134,7 +134,7 @@ void assign_addr_pair(addr_pair* ap, struct ip* iptr, int flip) {
unsigned short int dst_port = 0;
/* Does this protocol use ports? */
if(iptr->ip_p == IPPROTO_TCP || IP_HL(iptr) == IPPROTO_UDP) {
if(iptr->ip_p == IPPROTO_TCP || iptr->ip_p == IPPROTO_UDP) {
/* We take a slight liberty here by treating UDP the same as TCP */
/* Find the TCP/UDP header */