summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
942b980)
Type: fix
Change-Id: Ic6e2b7e05b50945a8e2222019c2942a6ee52e465
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
/* *INDENT-OFF* */
REPLY_MACRO2(VL_API_GET_NODE_INDEX_REPLY,
({
/* *INDENT-OFF* */
REPLY_MACRO2(VL_API_GET_NODE_INDEX_REPLY,
({
- rmp->node_index = ntohl(node_index);
+ rmp->node_index = htonl(node_index);
/* *INDENT-OFF* */
REPLY_MACRO2(VL_API_GET_NEXT_INDEX_REPLY,
({
/* *INDENT-OFF* */
REPLY_MACRO2(VL_API_GET_NEXT_INDEX_REPLY,
({
- rmp->next_index = ntohl(next_index);
+ rmp->next_index = htonl(next_index);
- REPLY_MACRO2(VL_API_GET_NODE_INDEX_REPLY,
+ REPLY_MACRO2(VL_API_ADD_NODE_NEXT_REPLY,
- rmp->next_index = ntohl(next_index);
+ rmp->next_index = htonl(next_index);
remote_address=self.pg0.remote_ip4,
vni=vni,
l3_mode=1,
remote_address=self.pg0.remote_ip4,
vni=vni,
l3_mode=1,
- decap_next_index=r.node_index)
+ decap_next_index=r.next_index)
self.vapi.sw_interface_add_del_address(
sw_if_index=r.sw_if_index, prefix="10.0.0.1/24")
self.vapi.sw_interface_add_del_address(
sw_if_index=r.sw_if_index, prefix="10.0.0.1/24")