Skip to contentSkip to conversation

pom-ng and different iptables versions

DISCUSSION Thomas Jarosch 1 participant 1 message Aug 10, 2009 netfilter

lore
Share & tools
lore
#0 lore raw

Hello,

pom-ng supports to apply the kernel part of a patchlet depending on the kernel version via different file names:

linux-2.6.patch
linux-2.6.16.patch
linux-2.6.19.patch
...

Is something like this also possible for the "iptables" extension part?

The internal API changed after iptables 1.4.2. A user sent me a patch for iptables 1.4.4, if possible I'd like to keep 1.4.2 support at the same time. What's the best approach to do this? #ifdefs? :o)

Thanks in advance,
Thomas