On 20 September 2017 at 12:14, Shyam Saini <mayhs11saini@xxxxxxxxx> wrote: > This new operation allows to import ruleset in json to make > incremental changes using the parse functions of libnftnl. > > A basic way to test this new functionality is: > > % cat file.json | nft import json > > where the file.json is a ruleset exported in json format. > > Highly based on work from Alvaro Neira <alvaroneay@xxxxxxxxx> > and Arturo Borrero <arturo@xxxxxxxxxxxxx> > > Acked-by: Arturo Borrero Gonzalez <arturo@xxxxxxxxxxxxx> > Signed-off-by: Shyam Saini <mayhs11saini@xxxxxxxxx> > --- > V4: > Fix coding style issues > Avoid nested function calls (As Suggested by Arturo ) LGTM Thanks Shyam! Just tested this patch, along with the one adding the testcase. All seems fine. @Pablo, please, review and apply. -- 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