On Fri, Mar 11, 2016 at 12:02:25AM +0530, Shivani Bhardwaj wrote: > On Thu, Mar 10, 2016 at 11:45 PM, Laura Garcia Liebana <nevola@xxxxxxxxx> wrote: > > Avoid to print the log level in the translation when the level is the > > default value. > > > > Example: > > > > $ sudo iptables-translate -t filter -A INPUT -m icmp ! --icmp-type 10 -j LOG > > nft add rule ip filter INPUT icmp type != router-solicitation counter log > > > > Looks good. Don't forget to send a patch for libip6t_LOG too. Yes please, send a patch for libip6t_LOG too. > Same is the case with reject as well. When I did the translations, I > left its default nature intact. > $ sudo ip6tables-translate -A FORWARD -p TCP --dport 22 -j REJECT > nft add rule ip6 filter FORWARD tcp dport 22 counter reject with > icmpv6 type port-unreachable > > Pablo, should this be corrected too? It would be good to translate this to the more compact syntax, if possible. > Laura, may be you can send more patches depending on his response. Yes please. Thanks for commenting on this Shivani. -- 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