summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorGabriel Ganne <gabriel.ganne@enea.com>2017-11-06 16:52:24 +0100
committerFlorin Coras <florin.coras@gmail.com>2017-11-07 08:31:35 +0000
commitbfc29ba442dbb65599f29fe5aa44c6219ed0d3a8 (patch)
tree73e101efec1414275ace34532db81f0d43a2aa03 /src/vnet
parent7b0c6737ed1e58d7902a513046e1b617a146cf23 (diff)
fix bfd cli with gcc >= 6
Change-Id: Iff63238bcf87db3411493e95064c5ad3ed8fd166 Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/bfd/bfd_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/bfd/bfd_cli.c b/src/vnet/bfd/bfd_cli.c
index b2cd8df2eea..a533bb74ea5 100644
--- 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; \
}