From 752a1af93da1381a5ecb921e7519cd9997eb27bc Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 17 Feb 2009 22:12:05 +0100 Subject: 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 --- src/expect/build.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/expect') 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; -- cgit v1.2.3