]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: add 'kind' property to 'csum' action
authorDavide Caratti <dcaratti@redhat.com>
Thu, 31 Jan 2019 17:58:41 +0000 (18:58 +0100)
committerDavid Ahern <dsahern@gmail.com>
Sun, 3 Feb 2019 17:10:38 +0000 (09:10 -0800)
commite8a3d76919263b9e5dbb71a1c80373eae3484ecc
tree1d88b766e2dd721a671c1840e3fc196812829f30
parent52d57f6bbdf799c2b54307a70c256e0c127e9663
tc: add 'kind' property to 'csum' action

unlike other TC actions already supporting JSON printout, 'csum' does not
print the value of TCA_KIND in the 'kind' property: remove 'csum' word
from 'csum' property, and add a separate 'kind' property containing the
action name. The human-readable printout is preserved.

Tested with:
 # ./tdc.py -c csum

Cc: Andrea Claudi <aclaudi@redhat.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
tc/m_csum.c