aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-11-18 18:45:20 -0800
committerDave Wallace <dwallacelf@gmail.com>2017-11-19 20:30:16 +0000
commit42324ad3174903b085c80f9c853c4db068fe6b38 (patch)
treed0ecfdfb1eb1150ed18058996b4d640197f1d156 /src/vnet
parente376f9339897df86b63f3c827f4750b7ce7d10c0 (diff)
session: fix session rules api to use transport proto
Change-Id: Ie7b795715530e0920763098eb468c55fb17b1a2c Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet')
-rwxr-xr-xsrc/vnet/session/session_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c
index 16ff91d0e63..3a382e5d454 100755
--- a/src/vnet/session/session_api.c
+++ b/src/vnet/session/session_api.c
@@ -842,6 +842,7 @@ vl_api_session_rule_add_del_t_handler (vl_api_session_rule_add_del_t * mp)
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));