VPP-930: add missing ntohl to send_ip6_fib_details(...)
Change-Id: I0c1671f3eaf2dad084e3ac9fb124c9ed78273f50 Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:

committed by
Florin Coras

parent
c64ef37c82
commit
7513c8c7d2
@ -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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user