diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd.c | 8 | ||||
-rw-r--r-- | src/fib.c | 4 | ||||
-rw-r--r-- | src/hash.c | 4 | ||||
-rw-r--r-- | src/iface.c | 4 | ||||
-rw-r--r-- | src/json.c | 8 | ||||
-rw-r--r-- | src/libnftables.c | 5 | ||||
-rw-r--r-- | src/mergesort.c | 4 | ||||
-rw-r--r-- | src/misspell.c | 8 | ||||
-rw-r--r-- | src/mnl.c | 4 | ||||
-rw-r--r-- | src/monitor.c | 4 | ||||
-rw-r--r-- | src/numgen.c | 4 | ||||
-rw-r--r-- | src/osf.c | 8 | ||||
-rw-r--r-- | src/owner.c | 8 | ||||
-rw-r--r-- | src/parser_json.c | 8 | ||||
-rw-r--r-- | src/print.c | 5 | ||||
-rw-r--r-- | src/xfrm.c | 6 | ||||
-rw-r--r-- | src/xt.c | 6 |
17 files changed, 73 insertions, 25 deletions
@@ -1,3 +1,11 @@ +/* + * Copyright (c) 2020 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 version 2 (or any + * later) as published by the Free Software Foundation. + */ + #include <erec.h> #include <mnl.h> #include <cmd.h> @@ -4,8 +4,8 @@ * Copyright (c) Red Hat GmbH. Author: Florian Westphal <fw@strlen.de> * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. */ #include <nftables.h> @@ -4,8 +4,8 @@ * Copyright (c) 2016 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 version 2 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. */ #include <nftables.h> diff --git a/src/iface.c b/src/iface.c index c0642e0c..3647778c 100644 --- a/src/iface.c +++ b/src/iface.c @@ -2,8 +2,8 @@ * Copyright (c) 2015 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 version 2 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. */ #include <stdio.h> @@ -1,3 +1,11 @@ +/* + * Copyright (c) Red Hat GmbH. Author: Phil Sutter <phil@nwl.cc> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. + */ + #define _GNU_SOURCE #include <stdio.h> #include <string.h> diff --git a/src/libnftables.c b/src/libnftables.c index a376825d..ec01a427 100644 --- a/src/libnftables.c +++ b/src/libnftables.c @@ -2,9 +2,8 @@ * Copyright (c) 2017 Eric Leblond <eric@regit.org> * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. */ #include <nftables/libnftables.h> #include <erec.h> diff --git a/src/mergesort.c b/src/mergesort.c index dca71422..a3a9d605 100644 --- a/src/mergesort.c +++ b/src/mergesort.c @@ -2,8 +2,8 @@ * Copyright (c) 2017 Elise Lennion <elise.lennion@gmail.com> * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. */ #include <stdint.h> diff --git a/src/misspell.c b/src/misspell.c index 6536d755..8992c75e 100644 --- a/src/misspell.c +++ b/src/misspell.c @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2018 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 version 2 (or any + * later) as published by the Free Software Foundation. + */ + #include <stdlib.h> #include <string.h> #include <limits.h> @@ -2,8 +2,8 @@ * Copyright (c) 2013-2017 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 version 2 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. * * Development of this code funded by Astaro AG (http://www.astaro.com/) */ diff --git a/src/monitor.c b/src/monitor.c index 4b55872b..9692b859 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -2,8 +2,8 @@ * Copyright (c) 2015 Arturo Borrero Gonzalez <arturo@netfilter.org> * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. */ #include <string.h> diff --git a/src/numgen.c b/src/numgen.c index ea2b2626..256514d1 100644 --- a/src/numgen.c +++ b/src/numgen.c @@ -4,8 +4,8 @@ * Copyright (c) 2016 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 version 2 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. */ #include <nftables.h> @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2018 Fernando Fernandez Mancera <ffmancera@riseup.net> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. + */ + #include <nftables.h> #include <expression.h> #include <utils.h> diff --git a/src/owner.c b/src/owner.c index 20bed38b..c34b0c15 100644 --- a/src/owner.c +++ b/src/owner.c @@ -1,3 +1,11 @@ +/* + * Copyright (c) 2021 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 version 2 (or any + * later) as published by the Free Software Foundation. + */ + #include <stdio.h> #include <unistd.h> #include <stdlib.h> diff --git a/src/parser_json.c b/src/parser_json.c index 762e779d..ae683314 100644 --- a/src/parser_json.c +++ b/src/parser_json.c @@ -1,3 +1,11 @@ +/* + * Copyright (c) Red Hat GmbH. Author: Phil Sutter <phil@nwl.cc> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. + */ + #define _GNU_SOURCE #include <errno.h> #include <stdint.h> /* needed by gmputil.h */ diff --git a/src/print.c b/src/print.c index d1b25e8b..4896e13c 100644 --- a/src/print.c +++ b/src/print.c @@ -2,9 +2,8 @@ * Copyright (c) 2017 Phil Sutter <phil@nwl.cc> * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. */ #include <stdarg.h> @@ -1,9 +1,11 @@ /* * XFRM (ipsec) expression * + * Copyright (c) Red Hat GmbH. Author: Florian Westphal <fw@strlen.de> + * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. */ #include <nftables.h> @@ -2,9 +2,9 @@ * Copyright (c) 2013-2015 Pablo Neira Ayuso <pablo@netfilter.org> * Copyright (c) 2015 Arturo Borrero Gonzalez <arturo@debian.org> * - * This program is free software; you can redistribute it and/or modifyi - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 (or any + * later) as published by the Free Software Foundation. */ #include <stdlib.h> |