aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2023-01-10 18:39:57 -0800
committerStephen Hemminger <stephen@networkplumber.org>2023-01-14 09:00:34 -0800
commit8aa217546e9eefe06eec3ad39fbb6d0fa2942af5 (patch)
tree91b23fdcf89129de7fe7379a64fda4b527374501
parent9458a2c1f56877219d401bbabc5ff2bc27b6b4c8 (diff)
downloadiproute2-8aa217546e9eefe06eec3ad39fbb6d0fa2942af5.tar.gz
genl: use SPDX
Replace GPL 2.0 or later boilerplate. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--genl/ctrl.c6
-rw-r--r--genl/genl.c7
2 files changed, 2 insertions, 11 deletions
diff --git a/genl/ctrl.c b/genl/ctrl.c
index 549bc6635..a2d87af0a 100644
--- a/genl/ctrl.c
+++ b/genl/ctrl.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* ctrl.c generic netlink controller
*
- * 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: J Hadi Salim (hadi@cyberus.ca)
* Johannes Berg (johannes@sipsolutions.net)
*/
diff --git a/genl/genl.c b/genl/genl.c
index 6557e6bc6..85cc73bb2 100644
--- a/genl/genl.c
+++ b/genl/genl.c
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* genl.c "genl" utility frontend.
*
- * 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.
- *
* Authors: Jamal Hadi Salim
- *
*/
#include <stdio.h>