Skip to contentSkip to conversation

examples: Fix for incomplete license text in nft-ruleset-get.c

PATCH In review Phil Sutter 2 participants 2 messages Oct 16, 2024 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 examples: Fix for incomplete license text in nft-ruleset-get.c

When converting the license from GPLv2 to GPLv2+, the first line was dropped by accident.

Fixes c335442eefcca ("src: incorrect header refers to GPLv2 only")
---
 examples/nft-ruleset-get.c | 1 +
 1 file changed, 1 insertion(+)
examples/nft-ruleset-get.c +1 -0
index 34ebe1fb6155c..3acbfa886127e 100644
@@ -5,6 +5,7 @@
  *
  * Copyright (c) 2013 Pablo Neira Ayuso <[email protected]>
  *
+ * 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.
Signature · 1 line
2.47.0
#1 lore raw
Quoted 2 lines · Phil Sutter

When converting the license from GPLv2 to GPLv2+, the first line was dropped by accident.

I mean at this point, all the blurbs should IMHO just be replaced by

// SPDX-License-Identifier: GPL-2.0-or-later
// SPDX-FileCopyrightText: 2024 Lee Developer // optional

as is already practised in the Linux kernel proper.