All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] (fix_led_parse_delay) value will now be set
@ 2013-08-06 13:26 Florian Eckert
  2013-08-06 13:38 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Eckert @ 2013-08-06 13:26 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Florian Eckert

---
 extensions/libxt_LED.c |    2 ++
 1 Datei geändert, 2 Zeilen hinzugefügt(+)

diff --git a/extensions/libxt_LED.c b/extensions/libxt_LED.c
index 8622c37..fd1e726 100644
--- a/extensions/libxt_LED.c
+++ b/extensions/libxt_LED.c
@@ -63,6 +63,8 @@ static void LED_parse(struct xt_option_call *cb)
 			xtables_error(PARAMETER_PROBLEM,
 				"Delay value must be within range 0..%u",
 				UINT32_MAX);
+		else
+			led->delay=atoi(cb->arg);
 		break;
 	case O_LED_ALWAYS_BLINK:
 		led->always_blink = 1;
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2013-08-06 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06 13:26 [PATCH] (fix_led_parse_delay) value will now be set Florian Eckert
2013-08-06 13:38 ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.