summaryrefslogtreecommitdiffstats
path: root/kernel/linux2.5/net/bridge/netfilter/ebt_pkttype.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-06-04 06:25:32 +0000
committerBart De Schuymer <bdschuym@pandora.be>2003-06-04 06:25:32 +0000
commitb2d2ce07b7356b8597991986fe80fdf6bb465309 (patch)
tree129b17db38348c828d84e2c0aeb3fdafeb794ce4 /kernel/linux2.5/net/bridge/netfilter/ebt_pkttype.c
parent1e0cbd87722f91b0a56f01f212f919d4f4a3a21a (diff)
revert back to 2.5.70
Diffstat (limited to 'kernel/linux2.5/net/bridge/netfilter/ebt_pkttype.c')
-rw-r--r--kernel/linux2.5/net/bridge/netfilter/ebt_pkttype.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/kernel/linux2.5/net/bridge/netfilter/ebt_pkttype.c b/kernel/linux2.5/net/bridge/netfilter/ebt_pkttype.c
index 50e6641..f6458ad 100644
--- a/kernel/linux2.5/net/bridge/netfilter/ebt_pkttype.c
+++ b/kernel/linux2.5/net/bridge/netfilter/ebt_pkttype.c
@@ -23,18 +23,13 @@ static int ebt_filter_pkttype(const struct sk_buff *skb,
return (skb->pkt_type != info->pkt_type) ^ info->invert;
}
-static struct ebt_match filter_pkttype;
static int ebt_pkttype_check(const char *tablename, unsigned int hookmask,
- const struct ebt_entry *e, void *data, unsigned int datalen,
- unsigned int version)
+ const struct ebt_entry *e, void *data, unsigned int datalen)
{
struct ebt_pkttype_info *info = (struct ebt_pkttype_info *)data;
if (datalen != sizeof(struct ebt_pkttype_info))
return -EINVAL;
- if (ebt_check_version(version, filter_pkttype.version,
- filter_pkttype.name))
- return -EINVAL;
if (info->invert != 0 && info->invert != 1)
return -EINVAL;
/* Allow any pkt_type value */
@@ -47,7 +42,6 @@ static struct ebt_match filter_pkttype =
.match = ebt_filter_pkttype,
.check = ebt_pkttype_check,
.me = THIS_MODULE,
- .version = VERSIONIZE(1,0),
};
static int __init init(void)