A couple of patches to tidy up initialization of a pair of netlink_ctx
variables.

Since v1 (based on Phil's feedback -- thanks, Phil):

 * Eliminated batch local variable from first patch.
 * Do initialization of .list and .batch into struct initializer from
   first patch.
 * Updated commit in "Fixes:" tag in first patch.
 * Added second patch.

Jeremy Sowden (2):
  libnftables: got rid of repeated initialization of netlink_ctx
    variable in loop.
  rule: removed duplicate member initializer.

 src/libnftables.c | 23 ++++++++++-------------
 src/rule.c        |  1 -
 2 files changed, 10 insertions(+), 14 deletions(-)

-- 
2.20.1

Reply via email to