Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6e3c682
)
vom: itf: make vhost_user as socket slave
13/11313/3
author
Mohsin Kazmi
<sykazmi@cisco.com>
Thu, 22 Mar 2018 15:07:05 +0000
(16:07 +0100)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Thu, 22 Mar 2018 22:36:42 +0000
(22:36 +0000)
Change-Id: I57b2ec35d9629fb5336c1ccfa4c6c849df118f7b
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
src/vpp-api/vom/interface_cmds.cpp
patch
|
blob
|
history
diff --git
a/src/vpp-api/vom/interface_cmds.cpp
b/src/vpp-api/vom/interface_cmds.cpp
index
b04798a
..
084d6d5
100644
(file)
--- a/
src/vpp-api/vom/interface_cmds.cpp
+++ b/
src/vpp-api/vom/interface_cmds.cpp
@@
-153,7
+153,7
@@
vhost_create_cmd::issue(connection& con)
memcpy(payload.tag, m_tag.c_str(),
std::min(m_tag.length(), sizeof(payload.tag)));
- payload.is_server =
1
;
+ payload.is_server =
0
;
payload.use_custom_mac = 0;
payload.renumber = 0;
@@
-281,6
+281,7
@@
vhost_delete_cmd::issue(connection& con)
VAPI_CALL(req.execute());
wait();
+ remove_interface();
return rc_t::OK;
}