diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-01-21 08:48:21 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-01-21 19:13:42 +0000 |
commit | 8b5d0b8c3a089e88a8872af939302029eb3434d9 (patch) | |
tree | 41c11f2c41d08ade1fcc7fa50677f41e0c5c4f1f | |
parent | 0ed24e93b207850078ca7f58cd4106cc4a906952 (diff) |
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 <pvinci@vinciconsulting.com>
-rw-r--r-- | src/vnet/interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
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) \ |