summaryrefslogtreecommitdiffstats
path: root/vppinfra
diff options
context:
space:
mode:
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;