]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: do not overlay addr and mask parts, and cleanup
authorJan Engelhardt <jengelh@medozas.de>
Wed, 4 May 2011 14:41:13 +0000 (16:41 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 8 May 2011 22:45:12 +0000 (00:45 +0200)
commitd7282413763b0ba85d512c1cd49174b762ff449c
tree01affe674bb821abea74a8113af4d90ff49fdeaf
parent51a746e6b1d66ca546fd2f8a1f7809868174e637
libxtables: do not overlay addr and mask parts, and cleanup

XTTYPE_HOSTMASK will require that what has now become haddr,
hmask/hlen are not overlays of another. Thus relax the structure and
always set all members of the {haddr, hmask, hlen} triplet now for all
types that touch any of the members.

Add some more comments and clean out ONEHOST.
extensions/libxt_TEE.c
extensions/libxt_TPROXY.c
include/xtables.h.in
xtoptions.c