diff options
| author | jvoisin | 2020-07-04 17:58:13 +0200 |
|---|---|---|
| committer | jvoisin | 2020-07-04 17:58:13 +0200 |
| commit | 55087da4701ddfbf4728b3670d8e46c07b4df881 (patch) | |
| tree | 4b4fc4ab0352d38ac98ea7af588d758f2e308f2a /src/sp_network_utils.c | |
| parent | 08f21d8b878b6c1490e6d6bb3d44aa640a88e9ca (diff) | |
Run clang-format on the codebase
Diffstat (limited to 'src/sp_network_utils.c')
| -rw-r--r-- | src/sp_network_utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp_network_utils.c b/src/sp_network_utils.c index 1811d98..dc92969 100644 --- a/src/sp_network_utils.c +++ b/src/sp_network_utils.c | |||
| @@ -17,7 +17,8 @@ static inline bool cidr4_match(const struct in_addr addr, | |||
| 17 | 17 | ||
| 18 | static inline bool cidr6_match(const struct in6_addr address, | 18 | static inline bool cidr6_match(const struct in6_addr address, |
| 19 | const struct in6_addr network, uint8_t bits) { | 19 | const struct in6_addr network, uint8_t bits) { |
| 20 | #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) | 20 | #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \ |
| 21 | defined(__APPLE__) | ||
| 21 | const uint32_t *a = address.__u6_addr.__u6_addr32; | 22 | const uint32_t *a = address.__u6_addr.__u6_addr32; |
| 22 | const uint32_t *n = network.__u6_addr.__u6_addr32; | 23 | const uint32_t *n = network.__u6_addr.__u6_addr32; |
| 23 | #else | 24 | #else |
