Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: iptables: Devel

[2.6 patch] ipt_iprange.h must #include <linux/types.h>

 

 

iptables devel RSS feed   Index | Next | Previous | View Threaded


bunk at stusta

Jul 15, 2007, 5:14 AM

Post #1 of 3 (740 views)
Permalink
[2.6 patch] ipt_iprange.h must #include <linux/types.h>

ipt_iprange.h must #include <linux/types.h> since it uses __be32.

This patch fixes kernel Bugzilla #7604.

Signed-off-by: Adrian Bunk <bunk [at] stusta>

---
--- linux-2.6.22-rc6-mm1/include/linux/netfilter_ipv4/ipt_iprange.h.old 2007-07-15 13:07:40.000000000 +0200
+++ linux-2.6.22-rc6-mm1/include/linux/netfilter_ipv4/ipt_iprange.h 2007-07-15 13:07:55.000000000 +0200
@@ -1,6 +1,8 @@
#ifndef _IPT_IPRANGE_H
#define _IPT_IPRANGE_H

+#include <linux/types.h>
+
#define IPRANGE_SRC 0x01 /* Match source IP address */
#define IPRANGE_DST 0x02 /* Match destination IP address */
#define IPRANGE_SRC_INV 0x10 /* Negate the condition */


kaber at trash

Jul 17, 2007, 8:05 AM

Post #2 of 3 (669 views)
Permalink
Re: [2.6 patch] ipt_iprange.h must #include <linux/types.h> [In reply to]

Adrian Bunk wrote:
> ipt_iprange.h must #include <linux/types.h> since it uses __be32.


Applied, thanks.


davem at davemloft

Jul 18, 2007, 2:22 AM

Post #3 of 3 (668 views)
Permalink
Re: [2.6 patch] ipt_iprange.h must #include <linux/types.h> [In reply to]

From: Adrian Bunk <bunk [at] stusta>
Date: Sun, 15 Jul 2007 14:14:19 +0200

> ipt_iprange.h must #include <linux/types.h> since it uses __be32.
>
> This patch fixes kernel Bugzilla #7604.
>
> Signed-off-by: Adrian Bunk <bunk [at] stusta>

Applied, and I'll push this to -stable too, thanks Adrian.

iptables devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.