diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-06-28 13:35:30 +0200 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-07-08 20:10:23 +0000 |
commit | b2a241ca4008920e8aea7bda3fca3123f258dbcb (patch) | |
tree | 48a2b8edbfbae8821ffaabc6b79333769c4edef5 /src | |
parent | 262ca683be45ea6278ede2693d8832939b9dce14 (diff) |
LLDP: properly parse lldp cmds from startup config
Change-Id: I0e6c86bd923fcf7cf16f948b9869a5927e6d3745
Signed-off-by: Klement Sekera <ksekera@cisco.com>
(cherry picked from commit 3d62a7f0b9a4b967ad53f5990729acca932f90b4)
Diffstat (limited to 'src')
-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 4a7ca683e1e..af18f90f9bf 100644 --- a/src/vnet/lldp/lldp_cli.c +++ b/src/vnet/lldp/lldp_cli.c @@ -205,9 +205,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 = |