Code Review
/
nsh_sfc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6c646d1
)
NSH Proxy session failed to configure via restconf. NSHSFC-21
29/4829/1
v17.01-rc3
author
Hongjun Ni
<
[email protected]
>
Tue, 24 Jan 2017 17:11:36 +0000
(
01:11
+0800)
committer
Hongjun Ni
<
[email protected]
>
Tue, 24 Jan 2017 17:13:40 +0000
(
01:13
+0800)
Change-Id: Id2e81fe3536cccd2678889a29559cea3d62dbf99
Signed-off-by: Hongjun Ni <
[email protected]
>
nsh-plugin/nsh/nsh.c
patch
|
blob
|
history
diff --git
a/nsh-plugin/nsh/nsh.c
b/nsh-plugin/nsh/nsh.c
index
46a651a
..
c5b9453
100644
(file)
--- 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);