aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_types.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-02-25 15:17:28 -0800
committerFlorin Coras <florin.coras@gmail.com>2019-02-26 15:28:26 +0000
commit70c35f302800d8d5e1ef376c4b0ad547b1977556 (patch)
tree7ae6a89e168c36ab40c654dd3279fc11aebc6434 /src/vnet/session/session_types.h
parent3bce8ebfdfaf2a4b576012beb3516d1f4030c20c (diff)
session: fix local binds
Change-Id: I1d92bec29c718de7a517bbbb335d09c68c221c71 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_types.h')
-rw-r--r--src/vnet/session/session_types.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/session/session_types.h b/src/vnet/session/session_types.h
index a7e33a6c74b..3709445ccac 100644
--- a/src/vnet/session/session_types.h
+++ b/src/vnet/session/session_types.h
@@ -368,8 +368,7 @@ local_session_parse_handle (session_handle_t handle, u32 * app_or_wrk_index,
u32 * session_index)
{
u32 bottom;
- ASSERT (((handle >> 32) == SESSION_LOCAL_HANDLE_PREFIX)
- || ((handle >> 32) == SESSION_LISTENER_PREFIX));
+ ASSERT (((handle >> 32) == SESSION_LOCAL_HANDLE_PREFIX));
bottom = (handle & 0xFFFFFFFF);
local_session_parse_id (bottom, app_or_wrk_index, session_index);
}