diff options
Diffstat (limited to 'src/vnet/session/session_table.c')
-rw-r--r-- | src/vnet/session/session_table.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/session_table.c b/src/vnet/session/session_table.c index d619fa580d8..d0b576fda7b 100644 --- a/src/vnet/session/session_table.c +++ b/src/vnet/session/session_table.c @@ -129,7 +129,8 @@ session_table_init (session_table_t * slt, u8 fib_proto) clib_bihash_init2_48_8 (a); } - for (i = 0; i < TRANSPORT_N_PROTO; i++) + vec_validate (slt->session_rules, TRANSPORT_N_PROTOS - 1); + for (i = 0; i < TRANSPORT_N_PROTOS; i++) session_rules_table_init (&slt->session_rules[i]); } |