aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-06-28 13:35:30 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-06-29 11:41:36 +0000
commit3d62a7f0b9a4b967ad53f5990729acca932f90b4 (patch)
tree544079654158b250d86be6b95f675be38c68656c /src/vnet
parent26054ea1d1bad8d0d383bac59bfbe50912aee146 (diff)
LLDP: properly parse lldp cmds from startup config
Change-Id: I0e6c86bd923fcf7cf16f948b9869a5927e6d3745 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/lldp/lldp_cli.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vnet/lldp/lldp_cli.c b/src/vnet/lldp/lldp_cli.c
index 45f688c58b4..d6d84bfd1a2 100644
--- a/src/vnet/lldp/lldp_cli.c
+++ b/src/vnet/lldp/lldp_cli.c
@@ -195,9 +195,7 @@ lldp_cfg_cmd (vlib_main_t * vm, unformat_input_t * input,
}
else
{
- ret = clib_error_return (0, "unknown input `%U'",
- format_unformat_error, input);
- goto out;
+ break;
}
}
ret =