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>
diff --git a/MAINTAINERS b/MAINTAINERS
index a4051aa..b93d719 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -111,6 +111,11 @@
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 7171bbd..156f975 100644
--- a/src/vnet/pg/input.c
+++ b/src/vnet/pg/input.c
@@ -1426,7 +1426,7 @@
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);