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:
8c6aec0
)
NSH Proxy session failed to configure via restconf. NSHSFC-21
81/4881/1
author
Hongjun Ni
<
[email protected]
>
Tue, 24 Jan 2017 17:11:36 +0000
(
01:11
+0800)
committer
Hongjun Ni
<
[email protected]
>
Thu, 26 Jan 2017 02:29:16 +0000
(
02:29
+0000)
Change-Id: Id2e81fe3536cccd2678889a29559cea3d62dbf99
Signed-off-by: Hongjun Ni <
[email protected]
>
(cherry picked from commit
24613f9946b814f2174b98a0020cfd55a0cf1fc5
)
nsh-plugin/nsh/nsh.c
patch
|
blob
|
history
diff --git
a/nsh-plugin/nsh/nsh.c
b/nsh-plugin/nsh/nsh.c
index
6fb61c4
..
b0e9539
100644
(file)
--- 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);