search for: xtables_strtoui

Displaying 1 result from an estimated 1 matches for "xtables_strtoui".

2013 May 30
1
[Bug 825] New: broken led-delay parameter in the LED extension
...extension work on my build of OpenWRT I noticed that whatever parameter of led-delay you are using (other than inf) ends up with a rule at 0 ms. This is due to the checked value never assigned to the structure in https://git.netfilter.org/iptables/tree/extensions/libxt_LED.c#n63 else if (!xtables_strtoui(cb->arg, NULL, &delay, 0, UINT32_MAX)) xtables_error(PARAMETER_PROBLEM, "Delay value must be within range 0..%u", UINT32_MAX); led->delay is never assigned with the value given by the user I changed it to else if (!xtables_st...