Re: [nftables PATCH 3/4] Update chain creation format.

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

 



Eric Leblond <eric@xxxxxxxxx> wrote:
> type keyword is now mandatory when creating a new chain. This
> patc halso implement the change required following the usage of human
> notation in hook.

> diff --git a/files/nftables/bridge-filter b/files/nftables/bridge-filter
> index ca306d4..6ed303e 100644
> --- a/files/nftables/bridge-filter
> +++ b/files/nftables/bridge-filter
> @@ -1,7 +1,7 @@
>  #! nft -f
>  
>  table bridge filter {
> -	chain input		{ hook NF_INET_LOCAL_IN		-200; }
> -	chain forward		{ hook NF_INET_FORWARD		-200; }
> -	chain output		{ hook NF_INET_LOCAL_OUT	200; }
> +	chain input		{ table filter hook input priority -200; }
> +	chain forward		{ table filter hook forward priority -200; }
> +	chain output		{ table filter hook output priority 200; }
>  }

Did you mean 'type filter' instead of 'table' here?
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux