diff options
| author | Jo-Philipp Wich | 2020-12-06 13:56:26 +0000 |
|---|---|---|
| committer | Jo-Philipp Wich | 2020-12-06 13:57:07 +0000 |
| commit | 12f6f143106257e0921c6ebbca2fe329cbeb3de6 (patch) | |
| tree | 0bee4f055d716e1dfdc3fabb99da6399986fde1e | |
| parent | 00f27ab1fddbd2a61a7aa746345061dfaf0e723d (diff) | |
| download | firewall3-12f6f143106257e0921c6ebbca2fe329cbeb3de6.tar.gz | |
iptables: fix serializing multiple weekdays
Ref: https://bugs.openwrt.org/index.php?getfile=1053
Fixes: FS#1053
Fixes: 427bc12 ("iptables: fix serializing multiple weekdays")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
| -rw-r--r-- | iptables.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1208,7 +1208,7 @@ fw3_ipt_rule_time(struct fw3_ipt_rule *r, struct fw3_time *time) rem--; } - p += snprintf(p, rem, "%u", i); + len = snprintf(p, rem, "%u", i); if (len < 0 || len >= rem) break; |