summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_lookup.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-12-14 11:30:48 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-12-22 19:25:46 +0000
commitb795bd0c5cadfc6734ee8b2355cbc3965be0a1c1 (patch)
tree5eff78761f269956b6a414a62b418b33a8c842b2 /src/vnet/session/session_lookup.c
parent1bb85ce9ca3d5cd4fe54c137233fb791f5428689 (diff)
tcp: add builtin server/client transfer test
Change-Id: Iab0baabf2f27bc7ad7fbf2d2789a493752b07d8a Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_lookup.c')
-rw-r--r--src/vnet/session/session_lookup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_lookup.c b/src/vnet/session/session_lookup.c
index 68886a09456..77f6f4be78d 100644
--- a/src/vnet/session/session_lookup.c
+++ b/src/vnet/session/session_lookup.c
@@ -205,6 +205,7 @@ session_table_get_or_alloc (u8 fib_proto, u8 fib_index)
vec_validate (fib_index_to_table_index[fib_proto], fib_index);
fib_index_to_table_index[fib_proto][fib_index] = table_index;
st->active_fib_proto = fib_proto;
+ session_table_init (st, fib_proto);
return st;
}
else