aboutsummaryrefslogtreecommitdiffstats
path: root/ratelimiter/ratelimiter.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-03 15:04:00 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-03 15:06:25 +0200
commita040786645ec980059937fd6a1a361b160c1a809 (patch)
treed0e5802b6d8becf40fc0dfed63a9fc558899ba82 /ratelimiter/ratelimiter.go
parentDaemonize with environment variable (diff)
downloadwireguard-go-a040786645ec980059937fd6a1a361b160c1a809.tar.xz
wireguard-go-a040786645ec980059937fd6a1a361b160c1a809.zip
global: Add SPDX tags and copyright header
Mathias should probably add his copyright headers to each file too.
Diffstat (limited to 'ratelimiter/ratelimiter.go')
-rw-r--r--ratelimiter/ratelimiter.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/ratelimiter/ratelimiter.go b/ratelimiter/ratelimiter.go
index 006900a..1aa6813 100644
--- a/ratelimiter/ratelimiter.go
+++ b/ratelimiter/ratelimiter.go
@@ -1,8 +1,9 @@
-package ratelimiter
-
-/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2017-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
-/* This file contains a port of the rate-limiter from the linux kernel version */
+package ratelimiter
import (
"net"