From f582da9e392ebffa07f209f9e3d362e65ec39818 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Sun, 9 Dec 2007 17:51:14 +0000 Subject: fix several compilation warnings (reported by J.Engelhardt) --- src/expect/build.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/expect') diff --git a/src/expect/build.c b/src/expect/build.c index 0415621..dfc5edf 100644 --- a/src/expect/build.c +++ b/src/expect/build.c @@ -27,6 +27,8 @@ int __build_expect(struct nfnl_subsys_handle *ssh, l3num = exp->master.tuple[NFCT_DIR_ORIGINAL].l3protonum; else if (test_bit(ATTR_ORIG_L3PROTO, exp->expected.set)) l3num = exp->expected.tuple[NFCT_DIR_ORIGINAL].l3protonum; + else + return -1; memset(req, 0, size); -- cgit v1.2.3