Re: [PATCH v2 nft] Standard prios: Make invalid prio error more specific

2018-08-24 Thread Pablo Neira Ayuso
On Thu, Aug 23, 2018 at 12:51:07PM +0200, Máté Eckl wrote: > So far if invalid priority name was specified the error message referred > to the whole chain/flowtable specification: > nft> add chain ip x h { type filter hook prerouting priority first; } > Error: 'first' is invalid

[PATCH v2 nft] Standard prios: Make invalid prio error more specific

2018-08-23 Thread Máté Eckl
So far if invalid priority name was specified the error message referred to the whole chain/flowtable specification: nft> add chain ip x h { type filter hook prerouting priority first; } Error: 'first' is invalid priority in this context. add chain ip x h { type filter hook