On Tue, May 14, 2019 at 11:13:40PM +0200, Fernando Fernandez Mancera wrote:
> This patch introduces the use of nft input files variables in 'jump' and 
> 'goto'
> statements, e.g.
> 
> define dest = ber
> 
> add table ip foo
> add chain ip foo bar {type filter hook input priority 0;}
> add chain ip foo ber
> add rule ip foo ber counter
> add rule ip foo bar jump $dest
> 
> table ip foo {
>       chain bar {
>               type filter hook input priority filter; policy accept;
>               jump ber
>       }
> 
>       chain ber {
>               counter packets 71 bytes 6664
>       }
> }

Please, add a tests/shell/ script for this in your next patch version.

Thanks.

Reply via email to