[nft PATCH 0/3] Fix JSON API after recent other changes

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

 



Recent changes to context structs broke compiling with JSON support
enabled, patch 3 fixes this. While doing so, I noticed that struct
eval_ctx's comment wasn't updated - fixed by patch 1.

Finally, I didn't like how osf ttl support was implemented in JSON.
Patch 2 resolves this.

Phil Sutter (3):
  include: Fix comment for struct eval_ctx
  json: Fix osf ttl support
  json: Fix for recent changes to context structs

 doc/libnftables-json.adoc | 24 ++++++++++++
 include/rule.h            |  2 +-
 src/json.c                | 82 +++++++++++++++++++++++----------------
 src/parser_json.c         | 24 ++++++++----
 tests/py/inet/osf.t.json  | 35 +++++++++++++++--
 5 files changed, 121 insertions(+), 46 deletions(-)

-- 
2.19.0




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

  Powered by Linux