lacp: missing endian conversions for trace packet format
Fix a couple endian conversions for displaying Marker Protocol packet
in the trace
Type: fix
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I746a67fb6143b5ad52bc4af9604ff8760dbdec9b
(cherry picked from commit 9a244b0a29
)
This commit is contained in:

committed by
Andrew Yourtchenko

parent
55e4f87b79
commit
f812f51873
@ -276,11 +276,11 @@ lacp_input_format_trace (u8 * s, va_list * args)
|
||||
s = format (s, " Marker Information TLV: length %u\n",
|
||||
marker->marker_info.tlv_length);
|
||||
s = format (s, " Requester port: %u\n",
|
||||
marker->marker_info.requester_port);
|
||||
ntohs (marker->marker_info.requester_port));
|
||||
s = format (s, " Requester system: %U\n", format_ethernet_address,
|
||||
marker->marker_info.requester_system);
|
||||
s = format (s, " Requester transaction ID: %u\n",
|
||||
marker->marker_info.requester_transaction_id);
|
||||
ntohl (marker->marker_info.requester_transaction_id));
|
||||
break;
|
||||
|
||||
case LACP_SUBTYPE:
|
||||
|
Reference in New Issue
Block a user