aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2023-07-21 19:41:37 -0700
committerStephen Hemminger <stephen@networkplumber.org>2023-07-22 09:30:36 -0700
commit912f5de4aa8d42405e48ed20c360e42199f84b8d (patch)
treeb87119538ebbf3668c69b8734d94de30f8e8d50b
parentac9650fe5c8016cc4c5c1c5e1df0adf5d14b906e (diff)
downloadiproute2-912f5de4aa8d42405e48ed20c360e42199f84b8d.tar.gz
Add missing SPDX headers
All headers and source in iproute2 should be using SPDX license info. Add a couple that were missed, and take off boilerplate. Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--include/bpf_util.h6
-rw-r--r--include/cg_map.h1
-rw-r--r--include/json_print.h8
3 files changed, 4 insertions, 11 deletions
diff --git a/include/bpf_util.h b/include/bpf_util.h
index 6a5f8ec65..1c924f501 100644
--- a/include/bpf_util.h
+++ b/include/bpf_util.h
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* bpf_util.h BPF common code
*
- * This program is free software; you can distribute 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.
- *
* Authors: Daniel Borkmann <daniel@iogearbox.net>
* Jiri Pirko <jiri@resnulli.us>
*/
diff --git a/include/cg_map.h b/include/cg_map.h
index d30517fd3..6293b50ed 100644
--- a/include/cg_map.h
+++ b/include/cg_map.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __CG_MAP_H__
#define __CG_MAP_H__
diff --git a/include/json_print.h b/include/json_print.h
index 49d3cc147..0b1d84f78 100644
--- a/include/json_print.h
+++ b/include/json_print.h
@@ -1,10 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
- * json_print.h "print regular or json output, based on json_writer".
- *
- * 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.
+ * json_print.h print regular or json output, based on json_writer.
*
* Authors: Julien Fortin, <julien@cumulusnetworks.com>
*/