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

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