On 11 June 2016 at 07:05, Liping Zhang <zlpnobody@xxxxxxx> wrote: > From: Liping Zhang <liping.zhang@xxxxxxxxxxxxxx> > > In my mechain, port 12345 is mapped to italk in /etc/services: > italk 12345/tcp # Italk Chat System > > So when we add nft rule with udp port "12345", nft list ruleset > will displayed it as "italk", that cause the result is not same > with expected, then testcase fail. > > Add "-nn" option when dump the rulesets from the kernel, make > testcases which using tcp/udp port more rubost. > > Signed-off-by: Liping Zhang <liping.zhang@xxxxxxxxxxxxxx> > --- > tests/shell/testcases/netns/0001nft-f_0 | 2 +- > tests/shell/testcases/netns/0002loosecommands_0 | 2 +- > tests/shell/testcases/netns/0003many_0 | 2 +- > tests/shell/testcases/nft-f/0002rollback_rule_0 | 2 +- > tests/shell/testcases/nft-f/0003rollback_jump_0 | 2 +- > tests/shell/testcases/nft-f/0004rollback_set_0 | 2 +- > tests/shell/testcases/nft-f/0005rollback_map_0 | 2 +- > 7 files changed, 7 insertions(+), 7 deletions(-) > Acked-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx> -- Arturo Borrero González -- 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