Code Review
/
odp4vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
c64ef37
)
VPP-930: add missing ntohl to send_ip6_fib_details(...)
author
Dave Barach
<
[email protected]
>
Wed, 18 Oct 2017 14:54:12 +0000
(10:54 -0400)
committer
Florin Coras
<
[email protected]
>
Wed, 18 Oct 2017 22:22:51 +0000
(22:22 +0000)
Change-Id: I0c1671f3eaf2dad084e3ac9fb124c9ed78273f50
Signed-off-by: Dave Barach <
[email protected]
>
src/vnet/ip/ip_api.c
patch
|
blob
|
history
diff --git
a/src/vnet/ip/ip_api.c
b/src/vnet/ip/ip_api.c
index
c42649f
..
e13e6e6
100644
(file)
--- a/
src/vnet/ip/ip_api.c
+++ b/
src/vnet/ip/ip_api.c
@@
-362,7
+362,7
@@
send_ip6_fib_details (vpe_api_main_t * am,
}
fp->weight = api_rpath->rpath.frp_weight;
fp->preference = api_rpath->rpath.frp_preference;
- fp->sw_if_index =
api_rpath->rpath.frp_sw_if_index
;
+ fp->sw_if_index =
htonl (api_rpath->rpath.frp_sw_if_index)
;
copy_fib_next_hop (api_rpath, fp);
fp++;
}