Re: [nft PATCH 2/2 v2] evaluate: reject: enhance the error support throwing message with more details

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

 



On Thu, Oct 23, 2014 at 07:36:57PM +0200, Alvaro Neira Ayuso wrote:
> If we add a rule like:
> 
> nft add rule bridge filter input ether type ip reject with icmpv6 type no-route
> 
> We throw an error like:
> 
> <cmdline>:1:44-49: Error: conflicting protocols specified: ip vs ip6
> add rule bridge filter input ether type ip reject with icmpv6 type no-route
> 
> Now, we are going to show in which part of the rule, we have the conflict:
> 
> <cmdline>:1:51-75: Error: conflicting protocols specified: ip vs ip6
> add rule bridge filter input ether type ip reject with icmpv6 type no-route
>                              ~~~~~~~~~~~~~        ^^^^^^^^^^^^^^^^^^^^^^^^^

Applied, thanks.
--
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