summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_test.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-10-26 14:25:12 -0700
committerChris Luke <chris_luke@comcast.com>2017-10-27 17:49:37 +0000
commitfc1c612d856cdab519d11edb1b317ca188b31ce6 (patch)
tree6ae5a650cfd185d6c088394e53ed2ea3aa438668 /src/vnet/session/session_test.c
parent8aa0d786a97eda2761c334330d71328919d4c674 (diff)
session: instantiate appns lookup table only once
Change-Id: I39d634b7691a524e5221c28997a737102298c281 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_test.c')
-rw-r--r--src/vnet/session/session_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_test.c b/src/vnet/session/session_test.c
index 433c20e5e1d..986837cbf24 100644
--- a/src/vnet/session/session_test.c
+++ b/src/vnet/session/session_test.c
@@ -227,6 +227,7 @@ session_test_namespace (vlib_main_t * vm, unformat_input_t * input)
"server shouldn't have access to local table");
unbind_args.app_index = server_index;
+ unbind_args.handle = bind_args.handle;
error = vnet_unbind (&unbind_args);
SESSION_TEST ((error == 0), "unbind should work");