netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nft PATCH v2 0/3] monitor: Some fixes and improvements
@ 2017-07-25 18:39 Phil Sutter
  2017-07-25 18:39 ` [nft PATCH v2 1/3] monitor: Fix printing of set declarations Phil Sutter
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Phil Sutter @ 2017-07-25 18:39 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

This is v2 containing the patches not applied from v1. Apart from
rebasing upon current upstream master, I folded patch 4 into patch 1
since they really belong together: The code changes to make 'nft
monitor' print correct syntax (by including the mandatory semicolons)
harmed readability since it dropped whitespace from the output. Former
patch 4 resolved this, not only for the cases patch 1 broke, but also at
another spot (i.e. between 'type' attribute and the following ones).

Patch 2 of this series depends on patch 1 since the simplification
requires that 'nft monitor' output matches given input (apart from
whitespace change) which wasn't the case before patch 1.

Finally, patch 3 (along with patch 2) remains unchanged.

Phil Sutter (3):
  monitor: Fix printing of set declarations
  tests/monitor: Simplify testcases
  tests/monitor: Clear ruleset after testing

 src/rule.c                             |  8 ++++----
 tests/monitor/run-tests.sh             | 15 ++++++++++-----
 tests/monitor/testcases/set-maps.t     |  7 +++----
 tests/monitor/testcases/set-mixed.t    | 10 +++-------
 tests/monitor/testcases/set-multiple.t |  7 ++-----
 tests/monitor/testcases/set-simple.t   | 21 ++++++++-------------
 6 files changed, 30 insertions(+), 38 deletions(-)

-- 
2.13.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-27  8:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25 18:39 [nft PATCH v2 0/3] monitor: Some fixes and improvements Phil Sutter
2017-07-25 18:39 ` [nft PATCH v2 1/3] monitor: Fix printing of set declarations Phil Sutter
2017-07-25 18:39 ` [nft PATCH v2 2/3] tests/monitor: Simplify testcases Phil Sutter
2017-07-25 18:39 ` [nft PATCH v2 3/3] tests/monitor: Clear ruleset after testing Phil Sutter
2017-07-27  8:50 ` [nft PATCH v2 0/3] monitor: Some fixes and improvements Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).