Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7b0c673
)
fix bfd cli with gcc >= 6
43/9243/2
author
Gabriel Ganne
<gabriel.ganne@enea.com>
Mon, 6 Nov 2017 15:52:24 +0000
(16:52 +0100)
committer
Florin Coras
<florin.coras@gmail.com>
Tue, 7 Nov 2017 08:31:35 +0000
(08:31 +0000)
Change-Id: Iff63238bcf87db3411493e95064c5ad3ed8fd166
Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
src/vnet/bfd/bfd_cli.c
patch
|
blob
|
history
diff --git
a/src/vnet/bfd/bfd_cli.c
b/src/vnet/bfd/bfd_cli.c
index
b2cd8df
..
a533bb7
100644
(file)
--- a/
src/vnet/bfd/bfd_cli.c
+++ b/
src/vnet/bfd/bfd_cli.c
@@
-397,8
+397,8
@@
static const unsigned optional = 0;
#define CHECK_MANDATORY(t, n, s, r, ...) \
PRAGMA_STR1 \
if (mandatory == r && !have_##n) \
- PRAGMA_STR2 \
{ \
+ PRAGMA_STR2 \
ret = clib_error_return (0, "Required parameter `%s' missing.", s); \
goto out; \
}