diff options
Diffstat (limited to 'extensions/libxt_comment.c')
-rw-r--r-- | extensions/libxt_comment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libxt_comment.c b/extensions/libxt_comment.c index b02f09b6..a7f96d4f 100644 --- a/extensions/libxt_comment.c +++ b/extensions/libxt_comment.c @@ -88,7 +88,7 @@ comment_save(const void *ip, const struct xt_entry_match *match) } static struct xtables_match comment_match = { - .family = AF_INET, + .family = NFPROTO_IPV4, .name = "comment", .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_comment_info)), @@ -102,7 +102,7 @@ static struct xtables_match comment_match = { }; static struct xtables_match comment_match6 = { - .family = AF_INET6, + .family = NFPROTO_IPV6, .name = "comment", .version = XTABLES_VERSION, .size = XT_ALIGN(sizeof(struct xt_comment_info)), |