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:
73710c7
)
lb api: correct byte order of new_flows_table_length argument
53/12853/2
author
Andrey "Zed" Zaikin
<zed.0xff@gmail.com>
Fri, 1 Jun 2018 12:39:54 +0000
(15:39 +0300)
committer
Dave Barach
<openvpp@barachs.net>
Tue, 5 Jun 2018 17:32:13 +0000
(17:32 +0000)
Change-Id: I3ac348a8cb1a515dfe1839eaa084c87719d282e1
Signed-off-by: Andrey "Zed" Zaikin <zed.0xff@gmail.com>
src/plugins/lb/api.c
patch
|
blob
|
history
diff --git
a/src/plugins/lb/api.c
b/src/plugins/lb/api.c
index
beec4ae
..
157bf31
100644
(file)
--- a/
src/plugins/lb/api.c
+++ b/
src/plugins/lb/api.c
@@
-139,7
+139,7
@@
vl_api_lb_add_del_vip_t_handler
args.plen = mp->prefix_length;
args.type = type;
- args.new_length =
mp->new_flows_table_length
;
+ args.new_length =
ntohl(mp->new_flows_table_length)
;
if (mp->encap == LB_ENCAP_TYPE_L3DSR) {
args.encap_args.dscp = (u8)(mp->dscp & 0x3F);