nftables: fix parsing date expressions
authorJo-Philipp Wich <jo@mein.io>
Mon, 8 Aug 2022 22:05:02 +0000 (00:05 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 25 Aug 2022 08:30:46 +0000 (10:30 +0200)
commit469db326ac60f619a05eb86bcce2183cf5abf973
tree97176d6942db413f223302fa5a752021187acd22
parentfd268e39739d13acb90843ad5ffb1443e5158a5a
nftables: fix parsing date expressions

Musl libc does not support the non-POSIX "%F" format for strptime() so
replace all occurrences of it with an equivalent "%Y-%m-%d" format.

Fixes: #10419
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit e6e4f979999393825370e9db9fe04d75cb01acf2)
package/network/utils/nftables/Makefile
package/network/utils/nftables/patches/0001-meta-don-t-use-non-POSIX-formats-in-strptime.patch [new file with mode: 0644]