From 42979363f3958b4436c6d2503753c182c58e55ea Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 1 Jun 2009 11:56:23 +0200 Subject: 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 --- extensions/libxt_pkttype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libxt_pkttype.c') diff --git a/extensions/libxt_pkttype.c b/extensions/libxt_pkttype.c index e3db2aa9..7586c7f0 100644 --- a/extensions/libxt_pkttype.c +++ b/extensions/libxt_pkttype.c @@ -139,7 +139,7 @@ static void pkttype_save(const void *ip, const struct xt_entry_match *match) } static struct xtables_match pkttype_match = { - .family = AF_UNSPEC, + .family = NFPROTO_UNSPEC, .name = "pkttype", .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_pkttype_info)), -- cgit v1.2.3