diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-03 00:11:26 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-03 23:52:11 -0600 |
commit | fa15260972b5ee645ba0992c3e21ae90f152a41b (patch) | |
tree | c331ab372e9a5ba63c5945599606bd39bfb477ec /src/ratelimiter.c | |
parent | crypto: import zinc (diff) | |
download | wireguard-monolithic-historical-fa15260972b5ee645ba0992c3e21ae90f152a41b.tar.xz wireguard-monolithic-historical-fa15260972b5ee645ba0992c3e21ae90f152a41b.zip |
global: satisfy check_patch.pl errors
Diffstat (limited to 'src/ratelimiter.c')
-rw-r--r-- | src/ratelimiter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ratelimiter.c b/src/ratelimiter.c index 3966ce8..836b4a6 100644 --- a/src/ratelimiter.c +++ b/src/ratelimiter.c @@ -84,8 +84,8 @@ static void gc_entries(struct work_struct *work) bool ratelimiter_allow(struct sk_buff *skb, struct net *net) { - struct { __be64 ip; u32 net; } data = - { .net = (unsigned long)net & 0xffffffff }; + struct { __be64 ip; u32 net; } data = { + .net = (unsigned long)net & 0xffffffff }; struct ratelimiter_entry *entry; struct hlist_head *bucket; |