summaryrefslogtreecommitdiffstats
path: root/src/table.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-10-16 18:47:32 +0200
committerPhil Sutter <phil@nwl.cc>2024-10-30 12:51:17 +0100
commite944a0afbc21a6baa73544f74a8c7525fd127c28 (patch)
tree15280ba0acbabee152e6cee5762d0de3c85421a3 /src/table.c
parent0576274ad54a3aae2750e7a49bed1e0f406b61cc (diff)
Use SPDX License Identifiers in headers
Replace the copyright notice in header comments by an equivalent SPDX-License-Identifier string. Drop a following empty line if at the bottom of the comment. Leave any other header comment content in place. This also fixes for an incomplete notice in examples/nft-ruleset-get.c since commit c335442eefcca ("src: incorrect header refers to GPLv2 only"). Signed-off-by: Phil Sutter <phil@nwl.cc> Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/table.c')
-rw-r--r--src/table.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/table.c b/src/table.c
index b1b164c..9870dca 100644
--- a/src/table.c
+++ b/src/table.c
@@ -1,11 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* (C) 2012-2013 by Pablo Neira Ayuso <pablo@netfilter.org>
*
- * 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 code has been sponsored by Sophos Astaro <http://www.sophos.com>
*/
#include "internal.h"