summaryrefslogtreecommitdiffstats
path: root/libiptc/libip6tc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiptc/libip6tc.c')
-rw-r--r--libiptc/libip6tc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libiptc/libip6tc.c b/libiptc/libip6tc.c
index 1c1f14e5..8ca5ea66 100644
--- a/libiptc/libip6tc.c
+++ b/libiptc/libip6tc.c
@@ -242,6 +242,7 @@ is_same(const STRUCT_ENTRY *a, const STRUCT_ENTRY *b,
mptr = matchmask + sizeof(STRUCT_ENTRY);
if (IP6T_MATCH_ITERATE(a, match_different, a->elems, b->elems, &mptr))
return NULL;
+ mptr += IP6T_ALIGN(sizeof(struct ip6t_entry_target));
return mptr;
}