From 06099b8e1a40ea1a6e10f17f675531a60ef30ee0 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 21 Feb 2018 17:43:39 +0100 Subject: allowedips: fix comment style --- src/allowedips.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/allowedips.c b/src/allowedips.c index 282b819..b9cd0aa 100644 --- a/src/allowedips.c +++ b/src/allowedips.c @@ -139,7 +139,8 @@ static __always_inline u8 common_bits(const struct allowedips_node *node, const /* This could be much faster if it actually just compared the common bits properly, * by precomputing a mask bswap(~0 << (32 - cidr)), and the rest, but it turns out that * common_bits is already super fast on modern processors, even taking into account - * the unfortunate bswap. So, we just inline it like this instead. */ + * the unfortunate bswap. So, we just inline it like this instead. + */ #define prefix_matches(node, key, bits) (common_bits(node, key, bits) >= node->cidr) static __always_inline struct allowedips_node *find_node(struct allowedips_node *trie, u8 bits, const u8 *key) -- cgit v1.2.3-59-g8ed1b