summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/ipsec.t.payload
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-01-14 13:37:28 +0100
committerFlorian Westphal <fw@strlen.de>2020-01-14 14:35:59 +0100
commit488356b895024d0944b20feb1f930558726e0877 (patch)
tree282a7889654a37f5bb2c7258d276e7796ab6a2cf /tests/py/inet/ipsec.t.payload
parentddbacd70d061eb1b6808f501969809bfb5d03001 (diff)
xfrm: spi is big-endian
the kernel stores spi in a __be32, so fix up the byteorder annotation. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/inet/ipsec.t.payload')
-rw-r--r--tests/py/inet/ipsec.t.payload1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/py/inet/ipsec.t.payload b/tests/py/inet/ipsec.t.payload
index 6049c664..c46a2263 100644
--- a/tests/py/inet/ipsec.t.payload
+++ b/tests/py/inet/ipsec.t.payload
@@ -16,7 +16,6 @@ ip ipsec-ip4 ipsec-input
# ipsec out spi 1-561
inet ipsec-inet ipsec-post
[ xfrm load out 0 spi => reg 1 ]
- [ byteorder reg 1 = hton(reg 1, 4, 4) ]
[ cmp gte reg 1 0x01000000 ]
[ cmp lte reg 1 0x31020000 ]