From 8b5d0b8c3a089e88a8872af939302029eb3434d9 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Mon, 21 Jan 2019 08:48:21 -0800 Subject: VPP-1549 Add missing counter name. show interface Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count local0 0 down 0/0/0/0 pg0 1 down 9000/0/0/0 rx packets 582 rx bytes 34051 tx packets 4 tx bytes 364 drops 323 ip6 1 (nil) 580 ---- show interface Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count local0 0 down 0/0/0/0 pg0 1 down 9000/0/0/0 rx packets 582 rx bytes 34051 tx packets 4 tx bytes 364 drops 323 ip6 1 mpls 580 Change-Id: I3dcde4799764277535baf42f855e4e8bb48c0d02 Signed-off-by: Paul Vinciguerra --- src/vnet/interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vnet/interface.h b/src/vnet/interface.h index f6f486e4591..2e32a790996 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -774,7 +774,8 @@ typedef enum _(RX_NO_BUF, rx-no-buf, if) \ _(RX_MISS, rx-miss, if) \ _(RX_ERROR, rx-error, if) \ - _(TX_ERROR, tx-error, if) + _(TX_ERROR, tx-error, if) \ + _(MPLS, mpls, if) #define foreach_combined_interface_counter_name \ _(RX, rx, if) \ -- cgit 1.2.3-korg