[PATCH] Re: ipchains: bug?

Paul Rusty Russell (Paul.Russell@rustcorp.com.au)
Tue, 19 May 1998 12:11:03 +0930


In message <19980518204115.41858@al.imol.net> you write:
> Hello Russel,
>
> I have tried to insert "wildcard" interface name, with no success.
>
> $ ipchains -I Acct 1 -i ppp+

Linus, please apply this patch (against 2.1.102):

[ Hands up all who can't do simple arithmetic: just me? Thought
so... ]

--- linux/include/linux/ip_fw.h.~1~ Tue May 19 09:44:41 1998
+++ linux/include/linux/ip_fw.h Tue May 19 12:05:26 1998
@@ -60,7 +60,7 @@
#define IP_FW_F_MARKABS 0x0008 /* Set the mark to fw_mark, not add. */
#define IP_FW_F_WILDIF 0x0010 /* Need only match start of interface name. */
#define IP_FW_F_NETLINK 0x0020 /* Redirect to netlink: 2.1.x only */
-#define IP_FW_F_MASK 0x002F /* All possible flag bits mask */
+#define IP_FW_F_MASK 0x003F /* All possible flag bits mask */

/* Values for "fw_invflg" field. */
#define IP_FW_INV_SRCIP 0x0001 /* Invert the sense of fw_src. */

Rusty.

--
 .sig lost in the mail.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu