summaryrefslogtreecommitdiffstats
path: root/vppinfra
diff options
context:
space:
mode:
authorDave Barach <openvpp@barachs.net>2016-01-19 23:15:51 +0000
committerGerrit Code Review <gerrit@fd.io>2016-01-19 23:15:51 +0000
commit2eb349224db410cafc401a23a6573d89c4a05129 (patch)
tree05f4822250acab657c396040251115d9c9dd33ec /vppinfra
parent52372b6c8e36401721a0533301e1ecdb30109424 (diff)
parent75d1f2404d0c6233865702107c7e4f50a5effdef (diff)
Merge "Fix bitmap list parsing"
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;