diff options
Diffstat (limited to 'ratelimiter')
-rw-r--r-- | ratelimiter/ratelimiter.go | 9 | ||||
-rw-r--r-- | ratelimiter/ratelimiter_test.go | 5 |
2 files changed, 10 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" diff --git a/ratelimiter/ratelimiter_test.go b/ratelimiter/ratelimiter_test.go index 37339ee..9bdaa4d 100644 --- a/ratelimiter/ratelimiter_test.go +++ b/ratelimiter/ratelimiter_test.go @@ -1,3 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2017-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. + */ + package ratelimiter import ( |