netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Jacob <jacob@internet24.de>
To: pablo@netfilter.org
Cc: netfilter-devel@vger.kernel.org, Thomas Jacob <jacob@internet24.de>
Subject: [PATCH] Return true/false instead of ULOGD_IRET_OK/STOP
Date: Mon,  8 Dec 2008 19:27:06 +0100	[thread overview]
Message-ID: <1228760826-12886-2-git-send-email-jacob@internet24.de> (raw)
In-Reply-To: <1228760826-12886-1-git-send-email-jacob@internet24.de>

Signed-off-by: Thomas Jacob <jacob@internet24.de>
---
 filter/raw2packet/ulogd_raw2packet_BASE.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/filter/raw2packet/ulogd_raw2packet_BASE.c b/filter/raw2packet/ulogd_raw2packet_BASE.c
index e61d904..30822e8 100644
--- a/filter/raw2packet/ulogd_raw2packet_BASE.c
+++ b/filter/raw2packet/ulogd_raw2packet_BASE.c
@@ -751,9 +751,9 @@ static int ip6_ext_hdr(u_int8_t nexthdr)
 	case IPPROTO_ESP:
 	case IPPROTO_AH:
 	case IPPROTO_DSTOPTS:
-		return ULOGD_IRET_OK;
+		return 1;
 	default:
-		return ULOGD_IRET_STOP;
+		return 0;
 	}
 }
 
-- 
1.5.6.5


  reply	other threads:[~2008-12-08 18:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 18:27 ulogd2 doesn't decode IPv6 L4 protos Thomas Jacob
2008-12-08 18:27 ` Thomas Jacob [this message]
2008-12-10 10:57   ` [PATCH] Return true/false instead of ULOGD_IRET_OK/STOP Eric Leblond

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1228760826-12886-2-git-send-email-jacob@internet24.de \
    --to=jacob@internet24.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).