[PATCH] Missing header include in ipt_iprange.h
[NETFILTER]: 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@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Willy Tarreau <w@1wt.eu>
This commit is contained in:
committed by
Willy Tarreau
parent
e7ddaa5dcf
commit
16978e1a96
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user