summaryrefslogtreecommitdiffstats
path: root/vppinfra
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-01-19 14:06:32 +0100
committerDamjan Marion <damarion@cisco.com>2016-01-19 14:10:52 +0100
commit75d1f2404d0c6233865702107c7e4f50a5effdef (patch)
tree0bd589a964a38386a0f6eaff5b9b0e988f88596b /vppinfra
parent46e88fe905adbd17a82d161042475b1b5a198370 (diff)
Fix bitmap list parsing
Fixes "cpu_config: no such thread type 'corelist-workers'" issue Change-Id: Ic0309ee62859ac73fd58c57b5f630aff5daf1775 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vppinfra')
-rw-r--r--vppinfra/vppinfra/bitmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vppinfra/vppinfra/bitmap.h b/vppinfra/vppinfra/bitmap.h
index cbcbedaf5dd..d8fd1542ffa 100644
--- a/vppinfra/vppinfra/bitmap.h
+++ b/vppinfra/vppinfra/bitmap.h
@@ -534,6 +534,11 @@ unformat_bitmap_list(unformat_input_t * input, va_list * va)
;
else if (unformat (input, "%u", &a))
b = a;
+ else if (bitmap)
+ {
+ unformat_put_input(input);
+ break;
+ }
else
goto error;