summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d619841)
raw | patch | inline | side by side (parent: d619841)
author | Maryam Tahhan <maryam.tahhan@intel.com> | |
Sun, 3 Apr 2016 09:35:23 +0000 (10:35 +0100) | ||
committer | Kim Jones <kim-marie.jones@intel.com> | |
Thu, 28 Jul 2016 12:16:04 +0000 (13:16 +0100) |
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
src/dpdkstat.c | patch | blob | history |
diff --git a/src/dpdkstat.c b/src/dpdkstat.c
index 27e2d39770785b15723cd9d6d51d841b894f5440..8bb8ef9bdfc2b266cfe81d481e1068a6146d30dc 100644 (file)
--- a/src/dpdkstat.c
+++ b/src/dpdkstat.c
i, len);
return -1;
}
- num_xstats += g_configuration->num_stats_in_port[i];
+ num_xstats += g_configuration->num_stats_in_port[enabled_port_count];
+ enabled_port_count++;
}
} /* if (enabled_port_mask) */
} /* for (nb_ports) */