diff options
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 6fb61c4..b0e9539 100644 --- a/nsh-plugin/nsh/nsh.c +++ b/nsh-plugin/nsh/nsh.c @@ -539,6 +539,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); |