aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/examples/nat-hole-punching
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-20 01:49:47 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-20 19:41:22 +0200
commit197a30ce3eb65790d5c46b23394a1dd1387b9ede (patch)
tree2664296cb741e7fc6754a8858e2127ce147a1f9c /contrib/examples/nat-hole-punching
parentratelimiter: disable selftest with KASAN (diff)
downloadwireguard-monolithic-historical-197a30ce3eb65790d5c46b23394a1dd1387b9ede.tar.xz
wireguard-monolithic-historical-197a30ce3eb65790d5c46b23394a1dd1387b9ede.zip
global: put SPDX identifier on its own line
The kernel has very specific rules correlating file type with comment type, and also SPDX identifiers can't be merged with other comments.
Diffstat (limited to 'contrib/examples/nat-hole-punching')
-rw-r--r--contrib/examples/nat-hole-punching/nat-punch-client.c4
-rw-r--r--contrib/examples/nat-hole-punching/nat-punch-server.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/examples/nat-hole-punching/nat-punch-client.c b/contrib/examples/nat-hole-punching/nat-punch-client.c
index 0133c3c..09af278 100644
--- a/contrib/examples/nat-hole-punching/nat-punch-client.c
+++ b/contrib/examples/nat-hole-punching/nat-punch-client.c
@@ -1,5 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0
- *
+// SPDX-License-Identifier: GPL-2.0
+/*
* Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*
* Example only. Do not run in production.
diff --git a/contrib/examples/nat-hole-punching/nat-punch-server.c b/contrib/examples/nat-hole-punching/nat-punch-server.c
index 29e065e..2f49aa8 100644
--- a/contrib/examples/nat-hole-punching/nat-punch-server.c
+++ b/contrib/examples/nat-hole-punching/nat-punch-server.c
@@ -1,5 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0
- *
+// SPDX-License-Identifier: GPL-2.0
+/*
* Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*
* Example only. Do not run in production.