summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_statistic.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-06-01 11:56:23 +0200
committerJan Engelhardt <jengelh@medozas.de>2009-06-01 11:57:13 +0200
commit42979363f3958b4436c6d2503753c182c58e55ea (patch)
treeb22aa627d566e9f3c4f78166af433c70c622f37e /extensions/libxt_statistic.c
parentcdcfd887b0dcb3c5cff3c2ae49fc34d0cbac5c44 (diff)
extensions: use NFPROTO_UNSPEC for .family field
This constant would be the designated one for the .family field; it also, given recent changes, makes grep for NFPROTO_UNSPEC work to finally recollect all manpages. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'extensions/libxt_statistic.c')
-rw-r--r--extensions/libxt_statistic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_statistic.c b/extensions/libxt_statistic.c
index 5b036864..913aa2c7 100644
--- a/extensions/libxt_statistic.c
+++ b/extensions/libxt_statistic.c
@@ -160,7 +160,7 @@ static void statistic_save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match statistic_match = {
- .family = AF_UNSPEC,
+ .family = NFPROTO_UNSPEC,
.name = "statistic",
.version = XTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct xt_statistic_info)),