From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5F26ECAAD4 for ; Sat, 3 Sep 2022 13:54:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229463AbiICNyv (ORCPT ); Sat, 3 Sep 2022 09:54:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbiICNyt (ORCPT ); Sat, 3 Sep 2022 09:54:49 -0400 Received: from mail.netfilter.org (mail.netfilter.org [217.70.188.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8777913D11 for ; Sat, 3 Sep 2022 06:54:48 -0700 (PDT) Date: Sat, 3 Sep 2022 15:54:43 +0200 From: Pablo Neira Ayuso To: Fernando Fernandez Mancera Cc: netfilter-devel@vger.kernel.org Subject: Re: [PATCH nft] json: add table map statement support Message-ID: References: <20220902105204.36066-1-ffmancera@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220902105204.36066-1-ffmancera@riseup.net> Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org On Fri, Sep 02, 2022 at 12:52:04PM +0200, Fernando Fernandez Mancera wrote: > When listing a map with statements with JSON support, the statement list were > ignored. > > Output example: > > { > "map": { > "family": "ip", > "name": "m", > "table": "t", > "type": "ipv4_addr", > "handle": 1, > "map": "mark", > "stmt": [ > { > "counter": { > "packets": 0, > "bytes": 0 > } > } > ] > } > } Applied, thanks