[PATCH] fix ulog

Bart De Schuymer <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
Hi Dave

The following patch is incremental to the patch that adds the ebtables
ulog watcher, which you have in your backlog for post 2.6.10.
The internal function call had to change (ulog needs the hook number) and
I somehow forgot to change the log watcher.

Please apply,
Bart

--- linux-2.6.9/net/bridge/netfilter/ebt_log.c.old	2004-12-07 21:40:21.000000000 +0100
+++ linux-2.6.9/net/bridge/netfilter/ebt_log.c	2004-12-07 21:43:54.000000000 +0100
@@ -55,8 +55,9 @@ static void print_MAC(unsigned char *p)
 }
 
 #define myNIPQUAD(a) a[0], a[1], a[2], a[3]
-static void ebt_log(const struct sk_buff *skb, const struct net_device *in,
-   const struct net_device *out, const void *data, unsigned int datalen)
+static void ebt_log(const struct sk_buff *skb, unsigned int hooknr,
+   const struct net_device *in, const struct net_device *out,
+   const void *data, unsigned int datalen)
 {
 	struct ebt_log_info *info = (struct ebt_log_info *)data;
 	char level_string[4] = "< >";



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.