]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxt_conntrack: fix --ctproto 0 output
authorJan Engelhardt <jengelh@medozas.de>
Sun, 21 Aug 2011 08:06:18 +0000 (10:06 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 21 Aug 2011 08:27:51 +0000 (10:27 +0200)
commitbca5b9afbe4b3823989f1e78f178203eb3bfa37d
treef9f27554aa8dd990a0b61d6ed4e6ab7f72140548
parentc148c4ad2e28b94125c0c9954a887f0a473d598b
libxt_conntrack: fix --ctproto 0 output

First, we are missing XTOPT_PUT when trying to use XTOPT_POINTER.
(Next commit will flag this.) Furthermore, l4proto is of type
uint16_t, while XTTYPE_PROTOCOL wants a uint8_t so the idea would not
work => revert v1.4.12~1^2.

Bug goes back to v1.4.12~1^2.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/libxt_conntrack.c