projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selftests: netfilter: fix current year
[linux-2.6-microblaze.git]
/
tools
/
testing
/
selftests
/
netfilter
/
nft_meta.sh
diff --git
a/tools/testing/selftests/netfilter/nft_meta.sh
b/tools/testing/selftests/netfilter/nft_meta.sh
index
087f0e6
..
f33154c
100755
(executable)
--- a/
tools/testing/selftests/netfilter/nft_meta.sh
+++ b/
tools/testing/selftests/netfilter/nft_meta.sh
@@
-23,7
+23,7
@@
ip -net "$ns0" addr add 127.0.0.1 dev lo
trap cleanup EXIT
-currentyear=$(date +%
G
)
+currentyear=$(date +%
Y
)
lastyear=$((currentyear-1))
ip netns exec "$ns0" nft -f /dev/stdin <<EOF
table inet filter {