[PATCH] netfilter: LED: fix man page fragment inclusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux