diff options
author | 2022-07-28 08:39:13 +0000 | |
---|---|---|
committer | 2022-07-28 15:38:18 +0000 | |
commit | 92d296551bdc30900fcffcd9f837746b5c829e48 (patch) | |
tree | ff67d78e4b9dcd3d8441e945fa25a5362229038c /src/vnet/session/session_types.h | |
parent | 4a817a5d7eb248434987e1c99c23a5dfcf6c7f56 (diff) |
session: fix a crash when using unregistered transport proto
Type: improvement
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: I39e3e007da2b99321bebf3e1c1ebb1d87547f532
Diffstat (limited to 'src/vnet/session/session_types.h')
-rw-r--r-- | src/vnet/session/session_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/session_types.h b/src/vnet/session/session_types.h index 7cfa6716187..95a88c5ab6e 100644 --- a/src/vnet/session/session_types.h +++ b/src/vnet/session/session_types.h @@ -505,7 +505,8 @@ STATIC_ASSERT (sizeof (session_dgram_hdr_t) == (SESSION_CONN_ID_LEN + 8), _ (NOEXTCFG, "no extended transport config") \ _ (NOCRYPTOENG, "no crypto engine") \ _ (NOCRYPTOCKP, "cert key pair not found ") \ - _ (LOCAL_CONNECT, "could not connect with local scope") + _ (LOCAL_CONNECT, "could not connect with local scope") \ + _ (TRANSPORT_NO_REG, "transport was not registered") typedef enum session_error_p_ { |