Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
punt and drop features:
[vpp.git]
/
src
/
vat
/
api_format.c
diff --git
a/src/vat/api_format.c
b/src/vat/api_format.c
index
ba1a791
..
7cd4b22
100644
(file)
--- a/
src/vat/api_format.c
+++ b/
src/vat/api_format.c
@@
-18349,10
+18349,10
@@
api_policer_add_del (vat_main_t * vam)
clib_memcpy (mp->name, name, vec_len (name));
vec_free (name);
mp->is_add = is_add;
clib_memcpy (mp->name, name, vec_len (name));
vec_free (name);
mp->is_add = is_add;
- mp->cir =
cir
;
- mp->eir =
eir
;
- mp->cb = c
b
;
- mp->eb =
eb
;
+ mp->cir =
ntohl (cir)
;
+ mp->eir =
ntohl (eir)
;
+ mp->cb = c
lib_net_to_host_u64 (cb)
;
+ mp->eb =
clib_net_to_host_u64 (eb)
;
mp->rate_type = rate_type;
mp->round_type = round_type;
mp->type = type;
mp->rate_type = rate_type;
mp->round_type = round_type;
mp->type = type;