diff options
author | 2017-01-25 01:11:36 +0800 | |
---|---|---|
committer | 2017-01-25 01:13:40 +0800 | |
commit | 24613f9946b814f2174b98a0020cfd55a0cf1fc5 (patch) | |
tree | 6bacc8869936f4b9d3d4d376fbfe0b54978afcb1 /nsh-plugin | |
parent | 6c646d10a943617c1d49adebe9467ffe680e82fc (diff) |
NSH Proxy session failed to configure via restconf. NSHSFC-21v17.01-rc3
Change-Id: Id2e81fe3536cccd2678889a29559cea3d62dbf99
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh-plugin')
-rw-r--r-- | nsh-plugin/nsh/nsh.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nsh-plugin/nsh/nsh.c b/nsh-plugin/nsh/nsh.c index 46a651a..c5b9453 100644 --- a/nsh-plugin/nsh/nsh.c +++ b/nsh-plugin/nsh/nsh.c @@ -538,6 +538,12 @@ static void vl_api_nsh_add_del_map_t_handler rv = nsh_add_del_map (a, &map_index); + if((a->map.next_node == NSH_NODE_NEXT_ENCAP_VXLAN4) + | (a->map.next_node == NSH_NODE_NEXT_ENCAP_VXLAN6)) + { + rv = nsh_add_del_proxy_session(a); + } + REPLY_MACRO2(VL_API_NSH_ADD_DEL_MAP_REPLY, ({ rmp->map_index = htonl (map_index); |