[NETFILTER]: Fix SNAT/DNAT target size checks
This patch fixes two size checks in the checkentry() for SNAT and DNAT targets. The patch to remove support for multiple ranges forgot to use IPT_ALIGN(). This isn't a problem on x86 but other archs like parisc are affected and thus can't add any SNAT/DNAT rules. Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se> Signed-off-by: Patrick McHardy <kaber@trash.net>
Showing
Please register or sign in to comment