From c5fc210a804f1f3b953d4a95d7384f25fbf9bc91 Mon Sep 17 00:00:00 2001 From: Balazs Scheidler Date: Sat, 7 Jul 2007 22:41:01 -0700 Subject: [PATCH] --- yaml --- r: 59013 b: refs/heads/master c: 5faf41535214b68c989a22302c8870f8758cbb8c h: refs/heads/master i: 59011: 31e684608a9481c8261e389a888a599c71fee187 v: v3 --- [refs] | 2 +- trunk/net/netfilter/x_tables.c | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index b9c87a75375d..d526fe4740bd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 585426fdc5b4cccaacf0afc8cf821ff763750ae8 +refs/heads/master: 5faf41535214b68c989a22302c8870f8758cbb8c diff --git a/trunk/net/netfilter/x_tables.c b/trunk/net/netfilter/x_tables.c index 0eb2504b89b5..520eddf4d61b 100644 --- a/trunk/net/netfilter/x_tables.c +++ b/trunk/net/netfilter/x_tables.c @@ -320,8 +320,8 @@ int xt_check_match(const struct xt_match *match, unsigned short family, return -EINVAL; } if (match->hooks && (hook_mask & ~match->hooks) != 0) { - printk("%s_tables: %s match: bad hook_mask %u\n", - xt_prefix[family], match->name, hook_mask); + printk("%s_tables: %s match: bad hook_mask %u/%u\n", + xt_prefix[family], match->name, hook_mask, match->hooks); return -EINVAL; } if (match->proto && (match->proto != proto || inv_proto)) { @@ -410,8 +410,9 @@ int xt_check_target(const struct xt_target *target, unsigned short family, return -EINVAL; } if (target->hooks && (hook_mask & ~target->hooks) != 0) { - printk("%s_tables: %s target: bad hook_mask %u\n", - xt_prefix[family], target->name, hook_mask); + printk("%s_tables: %s target: bad hook_mask %u/%u\n", + xt_prefix[family], target->name, hook_mask, + target->hooks); return -EINVAL; } if (target->proto && (target->proto != proto || inv_proto)) {