summaryrefslogtreecommitdiff
path: root/lib/zlog_5424_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlog_5424_cli.c')
-rw-r--r--lib/zlog_5424_cli.c18
1 files changed, 3 insertions, 15 deletions
diff --git a/lib/zlog_5424_cli.c b/lib/zlog_5424_cli.c
index 5eebda9deb..7f070afbc5 100644
--- a/lib/zlog_5424_cli.c
+++ b/lib/zlog_5424_cli.c
@@ -1,19 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2021 David Lamparter for NetDEF, Inc.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "zebra.h"
@@ -877,7 +864,8 @@ static int log_5424_show(struct vty *vty)
}
break;
- default:
+ case ZLOG_FMT_3164:
+ case ZLOG_FMT_LOCAL:
vty_out(vty,
" structured data is not supported by the selected format\n");
break;