summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/policer/policer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/policer/policer.c b/src/vnet/policer/policer.c
index e3cc8f75f3a..516a029dcee 100644
--- 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, "unapply"))
+ else if (unformat (line_input, "unbind"))
bind = 0;
- else if (unformat (line_input, "%d", &bind))
+ else if (unformat (line_input, "%d", &worker))
;
else
{