From: Paul Vinciguerra Date: Wed, 26 Jun 2019 01:02:40 +0000 (-0400) Subject: pg: format_pg_input_trace - reorder fields X-Git-Tag: v20.01-rc0~287 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=1671d3be382fc8690f24d3569733f3dcf96cf011 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 --- diff --git a/MAINTAINERS b/MAINTAINERS index a4051aaea67..b93d719f524 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -111,6 +111,11 @@ I: interface M: Dave Barach F: src/vnet/interface*.[ch] +VNET Packet Generator +I: pg +M: Dave Barach +F: src/vnet/pg/ + VNET Segment Routing (IPv6 and MPLS) I: sr M: Pablo Camarillo 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);