aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/nat-hole-punching
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-30 15:23:50 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2017-12-09 22:29:28 +0100
commit01d00bc03566d17585f640aafe5c76d34bcf5884 (patch)
tree175205acda7599fcc756812a444b0d6b33db6fe9 /contrib/nat-hole-punching
parentwg: no need to put this on the stack (diff)
downloadwireguard-tools-01d00bc03566d17585f640aafe5c76d34bcf5884.tar.xz
wireguard-tools-01d00bc03566d17585f640aafe5c76d34bcf5884.zip
global: add SPDX tags to all files
It's good to have SPDX identifiers in all files as the Linux kernel developers are working to add these identifiers to all files. Update all files with the correct SPDX license identifier based on the license text of the project or based on the license in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Modified-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'contrib/nat-hole-punching')
-rw-r--r--contrib/nat-hole-punching/nat-punch-client.c9
-rw-r--r--contrib/nat-hole-punching/nat-punch-server.c9
2 files changed, 12 insertions, 6 deletions
diff --git a/contrib/nat-hole-punching/nat-punch-client.c b/contrib/nat-hole-punching/nat-punch-client.c
index aa00d35..f27d220 100644
--- a/contrib/nat-hole-punching/nat-punch-client.c
+++ b/contrib/nat-hole-punching/nat-punch-client.c
@@ -1,6 +1,9 @@
-/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
-
-/* Example only. Do not run in production. */
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ *
+ * Example only. Do not run in production.
+ */
#include <stdio.h>
#include <unistd.h>
diff --git a/contrib/nat-hole-punching/nat-punch-server.c b/contrib/nat-hole-punching/nat-punch-server.c
index ab5ddd7..f9b919b 100644
--- a/contrib/nat-hole-punching/nat-punch-server.c
+++ b/contrib/nat-hole-punching/nat-punch-server.c
@@ -1,6 +1,9 @@
-/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
-
-/* Example only. Do not run in production. */
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ *
+ * Example only. Do not run in production.
+ */
#include <stdio.h>
#include <unistd.h>