Re: [PATCH nft 2/3] meta: fix endianness in priority

2016-05-30 Thread Pablo Neira Ayuso
On Sun, May 29, 2016 at 06:08:08PM +0800, Liping Zhang wrote: > From: Liping Zhang > > For example, after we add rule to set priority 1:2, it will be displayed in > network > byte order as 0200:0100, this is wrong: > > # nft add rule filter test meta priority set

[PATCH nft 2/3] meta: fix endianness in priority

2016-05-29 Thread Liping Zhang
From: Liping Zhang For example, after we add rule to set priority 1:2, it will be displayed in network byte order as 0200:0100, this is wrong: # nft add rule filter test meta priority set 1:2 # nft list chain filter test table ip filter { chain test {