ovs_stats: add macro to populate counters list
authorMatteo Croce <mcroce@redhat.com>
Thu, 18 Oct 2018 21:25:20 +0000 (23:25 +0200)
committerFlorian Forster <ff@octo.it>
Sun, 21 Oct 2018 19:49:09 +0000 (21:49 +0200)
commit9e4b667292bd8ffd0c441249ddfd2ca4292fbadb
tree5b6e8ee54083d86b2f8ebe29dc85c9d4e7b2b26f
parent009c673408d3e05f8604b3fb818cf3358f984be3
ovs_stats: add macro to populate counters list

Use a stringification macro to populate the counter array. Doing this
instead of duplicating the tokens is less error prone.

Signed-off-by: Matteo Croce <mcroce@redhat.com>
src/ovs_stats.c