From 0b3bafcedff19b69ff5a51855da28e8e83c05b71 Mon Sep 17 00:00:00 2001 From: Giuseppe Longo Date: Fri, 12 Jul 2013 13:27:33 +0200 Subject: xtables: nft: display rule by number via -L This patch fixes the display of rule by number. [ Mangled this patch not to display the header, to mimic iptables --pablo ] Signed-off-by: Giuseppe Longo Signed-off-by: Pablo Neira Ayuso --- iptables/xtables.c | 1 - 1 file changed, 1 deletion(-) (limited to 'iptables/xtables.c') diff --git a/iptables/xtables.c b/iptables/xtables.c index 4e8d3621..c712aaf4 100644 --- a/iptables/xtables.c +++ b/iptables/xtables.c @@ -570,7 +570,6 @@ list_entries(struct nft_handle *h, const char *chain, const char *table, if (linenumbers) format |= FMT_LINENUMBERS; - /* FIXME should return found or not, and errno = ENOENT in such case */ return nft_rule_list(h, chain, table, rulenum, format); } -- cgit v1.2.3