path: root/include/iptables.h
diff options
authorJan Engelhardt <>2009-03-30 00:44:46 +0200
committerJan Engelhardt <>2009-04-03 20:51:31 +0200
commitc4edfa63eda06f02cc5bc1a65d366c55bd2eda30 (patch)
tree88c8994afd5ab8413d6ed23944af6ab2858d1ca8 /include/iptables.h
parentcdf51d0183213c4bcac9ef4818155c1d3fbb897e (diff)
libxtables: reorder .version member
When the structure's layout changes, as it did between v1.4.1 and v1.4.2, trying to compare the version string makes iptables segfault while it tries to determine whether the module is compatible in the first place. By moving the member to a known offset in the struct and keeping it there, objects (both iptables and 3rd party) compiled from this commit onwards will avoid the segfault. Signed-off-by: Jan Engelhardt <>
Diffstat (limited to 'include/iptables.h')
0 files changed, 0 insertions, 0 deletions