summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-06-25 21:02:40 -0400
committerDamjan Marion <dmarion@me.com>2019-06-29 09:12:53 +0000
commit1671d3be382fc8690f24d3569733f3dcf96cf011 (patch)
tree5fa95e430a2ef4220c21c4461095cea9a66f01ac /src/vnet
parente5584965b7bf4e196bbddebc8a663fafb87c1f86 (diff)
pg: format_pg_input_trace - reorder fields
00:00:00:814640: pg-input stream pcap0-sw_if_index-1, 42 bytes, 1 sw_if_index is changed to: 00:00:00:814640: pg-input stream pcap0-sw_if_index-1, 42 bytes, sw_if_index 1 Type: style Change-Id: I9bb32494c9c1d08bc7588f088ed67a60ed3236dd Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/pg/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/pg/input.c b/src/vnet/pg/input.c
index 7171bbdda65..156f97545c2 100644
--- a/src/vnet/pg/input.c
+++ b/src/vnet/pg/input.c
@@ -1426,7 +1426,7 @@ format_pg_input_trace (u8 * s, va_list * va)
s = format (s, "stream %d", t->stream_index);
s = format (s, ", %d bytes", t->packet_length);
- s = format (s, ", %d sw_if_index", t->sw_if_index);
+ s = format (s, ", sw_if_index %d", t->sw_if_index);
s = format (s, "\n%U%U",
format_white_space, indent, format_vnet_buffer, &t->buffer);