[nft PATCH 0/7] Review wildcard expression parsing and some more

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I noticed that parser_bison.y contains two identical definitions for
wildcard expression. Patch 1 merges them into one. While being at it, I
made wildcard expression in JSON just a "special" immediate (i.e. a
string consisting of exactly "*") instead of the overly complicated
'{ "*": null }' it was before (done in patch 2).

BTW: I wasn't able to make use of wildcard expression at all when
playing around, is this even in use anymore?

The remaining patches contain misc JSON fixes/improvements.

Phil Sutter (7):
  parser_bison: Merge wildcard_rhs_expr and wildcard_stmt_expr
  JSON: Simplify wildcard expression
  JSON: Simplify verdict statement parsing
  JSON: Fix add rule with index
  JSON: Fix replace command parser
  JSON: Review large number parsing/printing
  tests/py: ip6/flowtable.t: Add missing JSON expected output

 src/json.c                           | 26 ++++----
 src/parser_bison.y                   | 25 ++------
 src/parser_json.c                    | 95 +++++++++-------------------
 tests/py/ip6/flowtable.t.json.output | 62 ++++++++++++++++++
 4 files changed, 115 insertions(+), 93 deletions(-)
 create mode 100644 tests/py/ip6/flowtable.t.json.output

-- 
2.17.0

--
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




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux