diff options
author | Steven Luong <sluong@cisco.com> | 2020-05-06 16:58:02 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-05-12 12:34:02 +0000 |
commit | 9a244b0a29b3ed517fc3442c9358d79907f67a24 (patch) | |
tree | 2a650ae4b685a7c68f77ad10ae4ee2a564eba3df /src | |
parent | 73a60b2da44847f3725d362a49207330d4d22aa5 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lacp/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lacp/input.c b/src/plugins/lacp/input.c index a75c3b2aa4c..fd1296afe3e 100644 --- a/src/plugins/lacp/input.c +++ b/src/plugins/lacp/input.c @@ -283,11 +283,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: |