Messages in this thread Patch in this message | | | Date | Tue, 8 Jun 1999 06:41:19 +0100 (GMT) | From | Tim Waugh <> | Subject | [patch] 2.2.10-pre3: syn/tcpsyn mixup |
| |
Here's a fix for 2.2.10-pre3.
Tim. */
--- linux-2.2.10-pre3/net/ipv4/ip_fw.c~ Tue Jun 8 06:38:52 1999 +++ linux-2.2.10-pre3/net/ipv4/ip_fw.c Tue Jun 8 06:38:54 1999 @@ -437,7 +437,7 @@ for (opti = 0; opti < (ip->ihl - sizeof(struct iphdr) / 4); opti++) printk(" O=0x%8.8X", *opt++); - printk(" %s(#%d)\n", tcpsyn ? "SYN " : /* "PENANCE" */ "", count); + printk(" %s(#%d)\n", syn ? "SYN " : /* "PENANCE" */ "", count); } /* function for checking chain labels for user space. */ @@ -532,7 +532,7 @@ f->counters[slot].bcnt+=ntohs(ip->tot_len); f->counters[slot].pcnt++; if (f->ipfw.fw_flg & IP_FW_F_PRN) { - dump_packet(ip,rif,f,label,src_port,dst_port,count,syn); + dump_packet(ip,rif,f,label,src_port,dst_port,count,tcpsyn); } ip->tos = (ip->tos & f->ipfw.fw_tosand) ^ f->ipfw.fw_tosxor;
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |