[PATCH] CTA_PROTO_NUM is u_int8_t not u_int16_t (was Re:
CTA_PROTO_NUM u_int8_t or u_int16_t)
olenf at ans.pl
Fri Nov 25 01:28:36 CET 2005
On Fri, 25 Nov 2005, Patrick McHardy wrote:
> Krzysztof Oledzki wrote:
>> Old binaries are not able to deal with CTA_PROTO and will not be able to
>> parse this attribute received from kernel. We should keep CTA_PROTO_NUM
>> here, but this leads to u_int8_t/u_int16_t mismatch in the code.
> I didn't notice that, we of course need to dump both attributes.
Both? We already send CTA_PROTO_NUM as u_int8_t to userspace and
libnfnetlink has no problem with that.
More information about the netfilter-devel