diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2019-06-19 13:42:37 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-06-27 17:24:10 +0000 |
commit | e971bc9bab2d1be9e129caa585448bb81dc6541f (patch) | |
tree | 5911a1dfb5905c6169d6798b2b1dca21e84c6862 /src/vnet/session/session.c | |
parent | 706079c92abe2c218da15c13d2c933914af18d18 (diff) |
session: Add transport vft protocol options
Type: refactor
Change-Id: I4e0afc206e4871596c2ed8a6ca00914a379f1526
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet/session/session.c')
-rw-r--r-- | src/vnet/session/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c index ea52b75086d..0e5fb8edb1a 100644 --- a/src/vnet/session/session.c +++ b/src/vnet/session/session.c @@ -1283,7 +1283,8 @@ session_register_transport (transport_proto_t transport_proto, /* *INDENT-ON* */ smm->session_type_to_next[session_type] = next_index; - smm->session_tx_fns[session_type] = session_tx_fns[vft->tx_type]; + smm->session_tx_fns[session_type] = + session_tx_fns[vft->transport_options.tx_type]; } transport_connection_t * |