ovs_stats plugin: Fix null dereference of "port".
authorFlorian Forster <octo@collectd.org>
Fri, 17 Nov 2017 16:26:28 +0000 (17:26 +0100)
committerFlorian Forster <octo@collectd.org>
Fri, 17 Nov 2017 16:28:37 +0000 (17:28 +0100)
commit1cc759929dcd25ae204452648ebb16a3ceb8c3b1
tree888c784b419d1a19907f2863f40b51945fc8dfa5
parent7a18567e6dd707f6d1d1367be5a970b3dc5fef56
ovs_stats plugin: Fix null dereference of "port".

This also refactors the ovs_stats_update_iface_ext_ids() function to
handle errors, instead of many nested if blocks.

CID: 179231
src/ovs_stats.c