85e1b1b0dc
While working on this module, I noticed a couple of inconsistencies in how we were calling nfct. Specifically, the NFNL_SUBSYS_CTNETLINK value is supposed to be 1[1], and the order of arguments to nfct_open is subsys_id then subscriptions[2]. We were passing them in the opposite order, which didn't particularly matter because both were defined to be 0. Now that the subsystem identifier is correctly defined it does matter though. Change-Id: I9fb74a9ef7a83cd630afa1e1ea0e2fc0c6df3943 1: https://git.netfilter.org/libnfnetlink/tree/include/libnfnetlink/linux_nfnetlink.h#n45 2: https://git.netfilter.org/libnetfilter_conntrack/tree/src/main.c#n68 |
||
---|---|---|
.. | ||
linux | ||
__init__.py |