session: fix session rules api to use transport proto
Change-Id: Ie7b795715530e0920763098eb468c55fb17b1a2c
Signed-off-by: Florin Coras <fcoras@cisco.com>
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index 16ff91d..3a382e5 100755
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -842,6 +842,7 @@
table_args->tag = format (0, "%s", mp->tag);
args.appns_index = clib_net_to_host_u32 (mp->appns_index);
args.scope = mp->scope;
+ args.transport_proto = mp->transport_proto;
memset (&table_args->lcl.fp_addr, 0, sizeof (table_args->lcl.fp_addr));
memset (&table_args->rmt.fp_addr, 0, sizeof (table_args->rmt.fp_addr));