]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
misc: use SPDX
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 11 Jan 2023 03:07:18 +0000 (19:07 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Sat, 14 Jan 2023 17:00:34 +0000 (09:00 -0800)
Use SPDX tag instead of GPL boilerplate.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
misc/arpd.c
misc/ifstat.c
misc/lnstat.c
misc/lnstat_util.c
misc/nstat.c
misc/rtacct.c
misc/ss.c
misc/ss_util.h
misc/ssfilter.h
misc/ssfilter.y
misc/ssfilter_check.c

index 504961cb5e3a0e15f54132d881bd2829bac96912..1ef837c61581bed31c91fe3c53a451a574c3aeb4 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * arpd.c      ARP helper daemon.
  *
- *             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:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
  */
 
index 291f288b3752f34e5051aa1aaefd625f3c233855..4ce5ca8af4e74e8d6b5b211b09fdd0b808f80759 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ifstat.c    handy utility to read net interface statistics
  *
- *             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:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
  */
 
index c3293a8eb12fef256cd52d9bd9d19c2047c85a38..c3f2999cc2558445888181e72203fe86d1fa44cb 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* lnstat - Unified linux network statistics
  *
  * Copyright (C) 2004 by Harald Welte <laforge@gnumonks.org>
@@ -8,12 +9,6 @@
  *
  * Copyright 2001 by Robert Olsson <robert.olsson@its.uu.se>
  *                                 Uppsala University, Sweden
- *
- * 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.
- *
  */
 
 /* Maximum number of fields that can be displayed */
index c2dc42ec1ff12a4848691d2e1ea2b642f0aa9631..3f53e91afbf8323d77740a8a921656a12fd4cf2c 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* lnstat.c:  Unified linux network statistics
  *
  * Copyright (C) 2004 by Harald Welte <laforge@gnumonks.org>
@@ -8,12 +9,6 @@
  *
  * Copyright 2001 by Robert Olsson <robert.olsson@its.uu.se>
  *                                 Uppsala University, Sweden
- *
- * 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.
- *
  */
 
 #include <unistd.h>
index 7160c59be2229624bc313b9c8e27549d0845a2d0..0ab92ecbeb471508856f1c8a4ad9f332e5faa4f0 100644 (file)
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * nstat.c     handy utility to read counters /proc/net/netstat and snmp
  *
- *             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:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
  */
 
index 47b27e3fd88d901ea6ccd2116348da8d9c8256a1..08363bfd4f2621a8bf6b411640e88972f4d94a05 100644 (file)
@@ -1,13 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * rtacct.c            Applet to display contents of /proc/net/rt_acct.
  *
- *             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:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
- *
  */
 
 #include <stdio.h>
index ccfa9fa9ef8e29f5a1d881695a665abb69b2cd27..de02fccb539bf156f8a23e3e6228b56ca11edb3e 100644 (file)
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /*
  * ss.c                "sockstat", socket statistics
  *
- *             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:    Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
  */
 
index f7e40bb9b93ca0068eb3134d81ca96bd1649fa5b..37936c6623eab4e49c70c75c4df6ea0d6b57145a 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #ifndef __SS_UTIL_H__
 #define __SS_UTIL_H__
 
index 0be3b1e03b9f7c4b184ae8cf4ab4d906bbbc9770..73e55e042b6b9aed5e8041ae653f44c7b24eb23e 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #include <stdbool.h>
 
 enum {
index 8e16b44638f6078e237fb3796d864708046b7072..3195723b2277e1e5a6a3715af948987b1686ed4c 100644 (file)
@@ -1,4 +1,5 @@
 %{
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 
 #include <stdio.h>
 #include <stdlib.h>
index 38c960c1bc918181509e828848b1e9a4d92dd23d..a188bb3469999fe5be561e7442da1f693daa0d04 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 #include <stdio.h>
 #include <stdlib.h>
 #include <errno.h>