Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
acl-plugin: cleaner node bugfixes (VPP-675)
[vpp.git]
/
src
/
plugins
/
flowperpkt
/
flowperpkt_test.c
diff --git
a/src/plugins/flowperpkt/flowperpkt_test.c
b/src/plugins/flowperpkt/flowperpkt_test.c
index
70b4a34
..
972a3b0
100644
(file)
--- a/
src/plugins/flowperpkt/flowperpkt_test.c
+++ b/
src/plugins/flowperpkt/flowperpkt_test.c
@@
-95,11
+95,11
@@
static int
api_flowperpkt_tx_interface_add_del (vat_main_t * vam)
{
unformat_input_t *i = vam->input;
api_flowperpkt_tx_interface_add_del (vat_main_t * vam)
{
unformat_input_t *i = vam->input;
- f64 timeout;
int enable_disable = 1;
u8 which = 0; /* ipv4 by default */
u32 sw_if_index = ~0;
vl_api_flowperpkt_tx_interface_add_del_t *mp;
int enable_disable = 1;
u8 which = 0; /* ipv4 by default */
u32 sw_if_index = ~0;
vl_api_flowperpkt_tx_interface_add_del_t *mp;
+ int ret;
/* Parse args required to build the message */
while (unformat_check_input (i) != UNFORMAT_END_OF_INPUT)
/* Parse args required to build the message */
while (unformat_check_input (i) != UNFORMAT_END_OF_INPUT)
@@
-129,10
+129,11
@@
api_flowperpkt_tx_interface_add_del (vat_main_t * vam)
mp->which = which;
/* send it... */
mp->which = which;
/* send it... */
- S;
+ S
(mp)
;
/* Wait for a reply... */
/* Wait for a reply... */
- W;
+ W (ret);
+ return ret;
}
/*
}
/*