Re: [PATCH 2/2 nft WIP] src: allow variables in chain priority

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

 



On Tue, Jul 16, 2019 at 11:08:14AM +0200, Fernando Fernandez Mancera wrote:
> Signed-off-by: Fernando Fernandez Mancera <ffmancera@xxxxxxxxxx>
> ---
>  src/parser_bison.y | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/parser_bison.y b/src/parser_bison.y
> index c6a43cf..d55a5fc 100644
> --- a/src/parser_bison.y
> +++ b/src/parser_bison.y
> @@ -1926,7 +1926,8 @@ extended_prio_name	:	OUT
>  			|	STRING
>  			;
>  
> -prio_expr		:	extended_prio_name
> +prio_expr		:	variable_expr
> +			|	extended_prio_name

This patch is small and I think it belongs to the previous patch,
please squash it to 1/2.

Thanks Fernando.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux