diff options
author | Florin Coras <fcoras@cisco.com> | 2017-09-19 22:27:18 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2017-09-20 17:50:48 +0000 |
commit | 0e4956869b7b919957433f04cc8fe52a2f391251 (patch) | |
tree | 29171e94f2315f342bc3160d920b6dccfae95f0f /src/vnet/session/transport.h | |
parent | 392206e55a1cbfb0a2e03ae310a4d3953bf3f194 (diff) |
session: store tep port in net order
Change-Id: Ie3a99f09f44ec081d9b88a213bdb8d987fb462de
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/transport.h')
-rw-r--r-- | src/vnet/session/transport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/transport.h b/src/vnet/session/transport.h index e56be3386ed..e2c479494ca 100644 --- a/src/vnet/session/transport.h +++ b/src/vnet/session/transport.h @@ -78,7 +78,7 @@ typedef enum _transport_proto typedef struct _transport_endpoint { ip46_address_t ip; /** ip address */ - u16 port; /** port in host order */ + u16 port; /** port in net order */ u8 is_ip4; /** 1 if ip4 */ u32 vrf; /** fib table the endpoint is associated with */ } transport_endpoint_t; |