Re: [libnftnl PATCH] Use SPDX License Identifiers in headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 23, 2024 at 10:06:57PM +0200, Phil Sutter wrote:
> diff --git a/examples/nft-chain-add.c b/examples/nft-chain-add.c
> index 13be982324180..fc2e939dae8b4 100644
> --- a/examples/nft-chain-add.c
> +++ b/examples/nft-chain-add.c
> @@ -1,10 +1,7 @@

Maybe more intuitive to place

+/* SPDX-License-Identifier: GPL-2.0-or-later */

in the first line of this file? This is what was done in iproute2.

>  /*
>   * (C) 2012 by Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
>   *
> - * 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.
> + * SPDX-License-Identifier: GPL-2.0-or-later
>   *
>   * This software has been sponsored by Sophos Astaro <http://www.sophos.com>
>   */




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux