session rule cli add udp session fail 29/18229/2
authorzhanglimao <zhanglimao0017@gmail.com>
Wed, 13 Mar 2019 02:36:54 +0000 (10:36 +0800)
committerFlorin Coras <florin.coras@gmail.com>
Wed, 13 Mar 2019 22:52:55 +0000 (22:52 +0000)
commita04ebb88e5fd726a9d343cc288c1858e69cf7872
tree1d073910508545ab88c3d3523e33f03989384079
parenta5160d7d1f0dda554960e1f0e9f7074bda256baa
session rule cli add udp session fail

current session rule cli can not add session rule of proto is udp.
because vnet_session_rule_add_del function's paramter does not include transport_proto element in args struct,
but session rule type on the basis of input args's transport_proto when create session rule with vnet_session_rule_add_del function,
so just add transport_proto element to vnet_session_rule_add_del function's args that to solve this problem

Change-Id: If1a5942b4a0b006d73376e0cb01b97e84c593493
Signed-off-by: zhanglimao <zhanglimao0017@gmail.com>
src/vnet/session/session_lookup.c