Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
API:support hidden sw interfaces
[vpp.git]
/
src
/
vppinfra
/
unformat.c
diff --git
a/src/vppinfra/unformat.c
b/src/vppinfra/unformat.c
index
7c636cc
..
f626f05
100644
(file)
--- a/
src/vppinfra/unformat.c
+++ b/
src/vppinfra/unformat.c
@@
-306,6
+306,11
@@
unformat_hex_string (unformat_input_t * input, va_list * va)
vec_free (s);
return 0;
}
+ /* Make sure something was processed. */
+ else if (s == 0)
+ {
+ return 0;
+ }
*hexstring_return = s;
return 1;