memif: wrong interface counter is incremented 34/28134/2
authorSteven Luong <sluong@cisco.com>
Thu, 6 Aug 2020 19:22:53 +0000 (12:22 -0700)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 19 Aug 2020 15:05:14 +0000 (15:05 +0000)
commitcfd710d2fc19ccb9f0c7a341e453e73a89cc8f64
tree85d2970329e2fd1a28c2adb37110bf6a4dcd75c5
parent1fa4b3a4bc98e39373e11994051cd75e7d3e96a5
memif: wrong interface counter is incremented

vlib_increment_combined_counter takes sw_if_index, not hw_if_index.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Iecde2697ed490940f0eff796d28d15381405b895
(cherry picked from commit 35050289e6b5f6e2939b1d08ed058ab952468943)
src/plugins/memif/node.c