netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] netfilter: LED: fix man page fragment inclusion
@ 2010-06-30 19:54 Sergei Zhirikov
  2010-07-02  7:44 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Zhirikov @ 2010-06-30 19:54 UTC (permalink / raw)
  To: netfilter-devel

[-- 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),

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] netfilter: LED: fix man page fragment inclusion
  2010-06-30 19:54 [PATCH] netfilter: LED: fix man page fragment inclusion Sergei Zhirikov
@ 2010-07-02  7:44 ` Patrick McHardy
  2010-07-03 10:31   ` Sergei Zhirikov
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick McHardy @ 2010-07-02  7:44 UTC (permalink / raw)
  To: Sergei Zhirikov; +Cc: netfilter-devel

Sergei Zhirikov wrote:
> 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.

You seem to have attached a different patch, please resend.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] netfilter: LED: fix man page fragment inclusion
  2010-07-02  7:44 ` Patrick McHardy
@ 2010-07-03 10:31   ` Sergei Zhirikov
  2010-07-05  8:41     ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Sergei Zhirikov @ 2010-07-03 10:31 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: netfilter-devel

No, it was the correct patch. The Makefile looks for NFPROTO_UNSPEC in the source file in order to decide whether the manpage fragment should be included.

--- On Fri, 7/2/10, Patrick McHardy <kaber@trash.net> wrote:

> From: Patrick McHardy <kaber@trash.net>
> Subject: Re: [PATCH] netfilter: LED: fix man page fragment inclusion
> To: "Sergei Zhirikov" <sfzhi@yahoo.com>
> Cc: netfilter-devel@vger.kernel.org
> Date: Friday, July 2, 2010, 9:44 AM
> Sergei Zhirikov wrote:
> > 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.
> 
> You seem to have attached a different patch, please
> resend.
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] netfilter: LED: fix man page fragment inclusion
  2010-07-03 10:31   ` Sergei Zhirikov
@ 2010-07-05  8:41     ` Patrick McHardy
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2010-07-05  8:41 UTC (permalink / raw)
  To: Sergei Zhirikov; +Cc: netfilter-devel

Sergei Zhirikov wrote:
> No, it was the correct patch. The Makefile looks for NFPROTO_UNSPEC in the source file in order to decide whether the manpage fragment should be included.
>   

I see, thanks. Please make a formal submission, including a
Signed-off-by: line.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-07-05  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-30 19:54 [PATCH] netfilter: LED: fix man page fragment inclusion Sergei Zhirikov
2010-07-02  7:44 ` Patrick McHardy
2010-07-03 10:31   ` Sergei Zhirikov
2010-07-05  8:41     ` Patrick McHardy

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).