Xtables-addon compile failure agains iptables-git (works agains v1.4.2)
Hi Jan,
I wanted to try out your Xtables-addon tree (atgit://dev.medozas.de/xtables-addons).
It fails compiling it against the latest iptables git tree, but works against tag v1.4.2.
The problem is that:
1. param_act() has been renamed to xtables_param_act()
2. flags has been renamed P_* -> XTF_*
3. string_to_number() converted to xtables_strtoui()
4. strtonum() is renamed to xtables_strtoui()
I tracked down the problem to some of your own commits:
a41545ca7cde: libxtables: prefix/order - param_act 5f2922cfc0bb: libxtables: prefix/order - strtoui
How do you want to keep Xtables-addon compatible between v1.4.2 and v1.4.3?
Signature · 7 lines
Med venlig hilsen / Best regards Jesper Brouer ComX Networks A/S Linux Network developer Cand. Scient Datalog / MSc. Author of http://adsl-optimizer.dk LinkedIn: http://www.linkedin.com/in/brouer
Quoted 7 lines · Jesper Dangaard Brouer
Hi Jan,
I wanted to try out your Xtables-addon tree (at
git://dev.medozas.de/xtables-addons).It fails compiling it against the latest iptables git tree, but works against tag v1.4.2.
Yes, known issue.
Quoted 6 lines
The problem is that:
1.param_act()has been renamed toxtables_param_act()
2. flags has been renamed P_* -> XTF_*
3.string_to_number()converted toxtables_strtoui()
4.strtonum()is renamed toxtables_strtoui()
Quoted 7 lines
I tracked down the problem to some of your own commits:
a41545ca7cde: libxtables: prefix/order -param_act5f2922cfc0bb: libxtables: prefix/order - strtouiHow do you want to keep Xtables-addon compatible between v1.4.2 and v1.4.3?
I decided I do not want to. Once 1.4.3 goes live, Xtables-addons moves with it. That makes it easier for me...
As for the user of whom we should be aware too: it is easier to upgrade iptables than it is to upgrade the kernel, hence I think it is a viable option to spend the time gained by doing so at keeping the kernel-level code workable in a wide range of kernel versions.