diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-02-17 22:12:05 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-02-17 22:12:05 +0100 |
commit | 752a1af93da1381a5ecb921e7519cd9997eb27bc (patch) | |
tree | 49d7c7f9e04022dd5d3f24028e76cca69ad711c2 /src/expect/build.c | |
parent | 6fbf883d990947d9f7e3b856e5db7f03d45d3aa6 (diff) |
src: remove reminiscent of NFCT_DIR_ORIGINAL and old prototypes
This patch removes a reminiscent constant of the old API whose value
is the same of __DIR_ORIG. This patch also removes the prototype
definition from libnetfilter_conntrack.h.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expect/build.c')
-rw-r--r-- | src/expect/build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expect/build.c b/src/expect/build.c index 2f9cb84..cb9071d 100644 --- a/src/expect/build.c +++ b/src/expect/build.c @@ -24,9 +24,9 @@ int __build_expect(struct nfnl_subsys_handle *ssh, u_int8_t l3num; if (test_bit(ATTR_ORIG_L3PROTO, exp->master.set)) - l3num = exp->master.tuple[NFCT_DIR_ORIGINAL].l3protonum; + l3num = exp->master.tuple[__DIR_ORIG].l3protonum; else if (test_bit(ATTR_ORIG_L3PROTO, exp->expected.set)) - l3num = exp->expected.tuple[NFCT_DIR_ORIGINAL].l3protonum; + l3num = exp->expected.tuple[__DIR_ORIG].l3protonum; else return -1; |