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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 priority in this context.
> 	add chain ip x h { type filter hook prerouting priority first; }
> 	                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> With this patch this reference is made specific to the priority
> 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 prerouting priority first; }
> 	                                               ^^^^^^^^^^^^^^
> 
> `prio_spec` is also reused to keep naming intuitive. The parser section
> formerly named `prio_spec` is renamed to `int_num` as it basically provides the
> mathematical set of integer numbers.

Applied, thanks Mate.



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux