diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-03 15:04:00 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-03 15:06:25 +0200 |
commit | a040786645ec980059937fd6a1a361b160c1a809 (patch) | |
tree | d0e5802b6d8becf40fc0dfed63a9fc558899ba82 /ratelimiter | |
parent | 209dd22ea0c6ea06aca47cb53f68ae2cf0d40831 (diff) |
global: Add SPDX tags and copyright header
Mathias should probably add his copyright headers to each file too.
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 ( |