diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-06-28 13:35:30 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-06-29 11:41:36 +0000 |
commit | 3d62a7f0b9a4b967ad53f5990729acca932f90b4 (patch) | |
tree | 544079654158b250d86be6b95f675be38c68656c /src/vnet/lldp/lldp_cli.c | |
parent | 26054ea1d1bad8d0d383bac59bfbe50912aee146 (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/lldp/lldp_cli.c')
-rw-r--r-- | src/vnet/lldp/lldp_cli.c | 4 |
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 = |