In this series I present following improvements and fixes:
1) Add missing open_json_context() to link_iptnl.c
for "encap" options.
2) Get rid of code duplication when parsing tunnel mode
parameters in link_iptnl.c.
3) Add code to link_iptnl.c to print tunnel mode to be
inline with ip6tnl.
See individual patch description message for details.
Thanks,
Serhii
Serhey Popovych (3):
link_iptnl: Kill code duplication
link_iptnl: Print tunnel mode
link_iptnl: Open "encap" JSON object
ip/link_iptnl.c | 45 +++++++++++++++++++++++----------------------
1 file changed, 23 insertions(+), 22 deletions(-)
--
1.7.10.4