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:
5f33d0d
)
policer: fix vnet/policer cli <policer bind [unbind] name <name> <worker>> handle
94/32494/3
author
jinshaohui
<jinsh11@chinatelecom.cn>
Sun, 30 May 2021 04:40:56 +0000
(
05:40
+0100)
committer
Neale Ranns
<neale@graphiant.com>
Fri, 4 Jun 2021 08:43:12 +0000
(08:43 +0000)
an exception
Type: fix
Signed-off-by: jinshaohui <jinsh11@chinatelecom.cn>
Change-Id: I67b7d0b52c33a5b13ace8fe2d918139d2820e9bf
src/vnet/policer/policer.c
patch
|
blob
|
history
diff --git
a/src/vnet/policer/policer.c
b/src/vnet/policer/policer.c
index
e3cc8f7
..
516a029
100644
(file)
--- a/
src/vnet/policer/policer.c
+++ b/
src/vnet/policer/policer.c
@@
-597,9
+597,9
@@
policer_bind_command_fn (vlib_main_t *vm, unformat_input_t *input,
{
if (unformat (line_input, "name %s", &name))
;
- else if (unformat (line_input, "un
apply
"))
+ else if (unformat (line_input, "un
bind
"))
bind = 0;
- else if (unformat (line_input, "%d", &
bind
))
+ else if (unformat (line_input, "%d", &
worker
))
;
else
{