diff options
author | Dave Barach <openvpp@barachs.net> | 2016-01-19 23:15:51 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-01-19 23:15:51 +0000 |
commit | 2eb349224db410cafc401a23a6573d89c4a05129 (patch) | |
tree | 05f4822250acab657c396040251115d9c9dd33ec /vppinfra | |
parent | 52372b6c8e36401721a0533301e1ecdb30109424 (diff) | |
parent | 75d1f2404d0c6233865702107c7e4f50a5effdef (diff) |
Merge "Fix bitmap list parsing"
Diffstat (limited to 'vppinfra')
-rw-r--r-- | vppinfra/vppinfra/bitmap.h | 5 |
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; |