Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Typos. A bunch of typos I've been collecting.
[vpp.git]
/
src
/
vnet
/
devices
/
af_packet
/
cli.c
diff --git
a/src/vnet/devices/af_packet/cli.c
b/src/vnet/devices/af_packet/cli.c
index
29c0e06
..
e5466c9
100644
(file)
--- a/
src/vnet/devices/af_packet/cli.c
+++ b/
src/vnet/devices/af_packet/cli.c
@@
-93,7
+93,7
@@
af_packet_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
if (r == VNET_API_ERROR_SUBIF_ALREADY_EXISTS)
{
if (r == VNET_API_ERROR_SUBIF_ALREADY_EXISTS)
{
- error = clib_error_return (0, "Interface
e
lready exists");
+ error = clib_error_return (0, "Interface
a
lready exists");
goto done;
}
goto done;
}
@@
-225,7
+225,8
@@
af_packet_set_l4_cksum_offload_command_fn (vlib_main_t * vm,
}
}
}
}
- af_packet_set_l4_cksum_offload (vm, sw_if_index, set);
+ if (af_packet_set_l4_cksum_offload (vm, sw_if_index, set) < 0)
+ error = clib_error_return (0, "not an af_packet interface");
done:
unformat_free (line_input);
done:
unformat_free (line_input);