ipt_iprange.h must #include <linux/types.h>
Subsystems (3)
PATCH 1/1 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 <[email protected]>
---
include/linux/netfilter_ipv4/ipt_iprange.h renamed from include/linux/netfilter_ipv4/ipt_iprange.h.old +2 -0
@@ -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 */
Patrick McHardy
AppliedQuoted 1 line · Adrian Bunk
ipt_iprange.hmust #include <linux/types.h> since it uses__be32.
Applied, thanks.
From: Adrian Bunk <[email protected]>
Date: Sun, 15 Jul 2007 14:14:19 +0200
Quoted 5 lines
ipt_iprange.hmust #include <linux/types.h> since it uses__be32.This patch fixes kernel Bugzilla #7604.
Signed-off-by Adrian Bunk <[email protected]>
Applied, and I'll push this to -stable too, thanks Adrian.