netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Zhirikov <sfzhi@yahoo.com>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH] netfilter: LED: fix man page fragment inclusion
Date: Wed, 30 Jun 2010 21:54:17 +0200	[thread overview]
Message-ID: <i0g7db$5e3$1@dough.gmane.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 155 bytes --]

The man page fragment of the recently added LED target does not get included into iptables.8 and ip6tables.8 produced during build. This patch fixes that.

[-- Attachment #2: LED-man.patch --]
[-- Type: text/plain, Size: 559 bytes --]

diff --git a/extensions/libxt_LED.c b/extensions/libxt_LED.c
index af0e091..9a08e89 100644
--- a/extensions/libxt_LED.c
+++ b/extensions/libxt_LED.c
@@ -137,7 +137,7 @@ static void LED_save(const void *ip, const struct xt_entry_target *target)
 static struct xtables_target led_tg_reg = {
 	.version       = XTABLES_VERSION,
 	.name          = "LED",
-	.family        = PF_UNSPEC,
+	.family        = NFPROTO_UNSPEC,
 	.revision      = 0,
 	.size          = XT_ALIGN(sizeof(struct xt_led_info)),
 	.userspacesize = offsetof(struct xt_led_info, internal_data),

             reply	other threads:[~2010-06-30 20:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-30 19:54 Sergei Zhirikov [this message]
2010-07-02  7:44 ` [PATCH] netfilter: LED: fix man page fragment inclusion Patrick McHardy
2010-07-03 10:31   ` Sergei Zhirikov
2010-07-05  8:41     ` Patrick McHardy

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='i0g7db$5e3$1@dough.gmane.org' \
    --to=sfzhi@yahoo.com \
    --cc=netfilter-devel@vger.kernel.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).