summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--MAINTAINERS5
-rw-r--r--src/vnet/pg/input.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index a4051aaea67..b93d719f524 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -111,6 +111,11 @@ I: interface
M: Dave Barach <dave@barachs.net>
F: src/vnet/interface*.[ch]
+VNET Packet Generator
+I: pg
+M: Dave Barach <dave@barachs.net>
+F: src/vnet/pg/
+
VNET Segment Routing (IPv6 and MPLS)
I: sr
M: Pablo Camarillo <pcamaril@cisco.com>
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);