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>
Tue, 9 Aug 2022 09:51:46 +0000 (11:51 +0200)
commite6e4f979999393825370e9db9fe04d75cb01acf2
treeb1368ee5d578d572c73e2cabc3348ebfd87548ee
parentb5ec04f81a5ff1baddb8591af8ac9a4fa9da2a11
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>
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]