aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2023-01-09 13:39:27 -0800
committerStephen Hemminger <stephen@networkplumber.org>2023-01-09 13:39:27 -0800
commit1ba8021057acde2ea06f5b52c370f7cc86fb2b3e (patch)
treeb000824541101ffe2695a7786afc2e13a9f7e6e9
parent62f6e2fcd7e7ac3a7fc18d961951a91e40ac2bd5 (diff)
downloadiproute2-1ba8021057acde2ea06f5b52c370f7cc86fb2b3e.tar.gz
tc/htb: add SPDX comment
The standard way is to use SPDX to refer to license, instead of per-file boilerplate text. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--tc/q_htb.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/tc/q_htb.c b/tc/q_htb.c
index 8d73cdc35..31862ffbb 100644
--- a/tc/q_htb.c
+++ b/tc/q_htb.c
@@ -1,13 +1,7 @@
-/*
- * q_htb.c HTB.
- *
- * 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: Martin Devera, devik@cdi.cz
+/* SPDX-License-Identifier: GPL-2.0 */
+/* q_htb.c Hierarchical Token Bucket
*
+ * Author: Martin Devera, devik@cdi.cz
*/
#include <stdio.h>