[PATCH 01/13] Correct the family member value of libxt_mark revision 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



libxt_mark rev1 used AF_INET6 in the class structure where it should
have used AF_INET.
---
 extensions/libxt_mark.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/extensions/libxt_mark.c b/extensions/libxt_mark.c
index af7f844..a2c9baf 100644
--- a/extensions/libxt_mark.c
+++ b/extensions/libxt_mark.c
@@ -197,7 +197,7 @@ static struct xtables_match mark_mt6_reg = {
 	.version        = IPTABLES_VERSION,
 	.name           = "mark",
 	.revision       = 1,
-	.family         = AF_INET6,
+	.family         = AF_INET,
 	.size           = XT_ALIGN(sizeof(struct xt_mark_mtinfo1)),
 	.userspacesize  = XT_ALIGN(sizeof(struct xt_mark_mtinfo1)),
 	.help           = mark_mt_help,
-- 
1.5.5.rc3

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux