diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-05-16 23:04:10 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-05-17 18:16:42 +0100 |
commit | 03a511482ffa643a636cd5bcce596f110ca2d8e0 (patch) | |
tree | f984d78add7a716a8451907aecbbcdcb2dff690c /toxcore/LAN_discovery.c | |
parent | fe8e0fb8fa46a815e89e3722a7c92b35181c2ce8 (diff) |
Format comments according to tokstyle's requirements.
Diffstat (limited to 'toxcore/LAN_discovery.c')
-rw-r--r-- | toxcore/LAN_discovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/LAN_discovery.c b/toxcore/LAN_discovery.c index e23550df..3f6951fc 100644 --- a/toxcore/LAN_discovery.c +++ b/toxcore/LAN_discovery.c | |||
@@ -331,7 +331,7 @@ bool ip_is_lan(IP ip) | |||
331 | 331 | ||
332 | if (net_family_is_ipv6(ip.family)) { | 332 | if (net_family_is_ipv6(ip.family)) { |
333 | /* autogenerated for each interface: `FE80::*` (up to `FEBF::*`) | 333 | /* autogenerated for each interface: `FE80::*` (up to `FEBF::*`) |
334 | `FF02::1` is - according to RFC 4291 - multicast all-nodes link-local */ | 334 | * `FF02::1` is - according to RFC 4291 - multicast all-nodes link-local */ |
335 | if (((ip.ip.v6.uint8[0] == 0xFF) && (ip.ip.v6.uint8[1] < 3) && (ip.ip.v6.uint8[15] == 1)) || | 335 | if (((ip.ip.v6.uint8[0] == 0xFF) && (ip.ip.v6.uint8[1] < 3) && (ip.ip.v6.uint8[15] == 1)) || |
336 | ((ip.ip.v6.uint8[0] == 0xFE) && ((ip.ip.v6.uint8[1] & 0xC0) == 0x80))) { | 336 | ((ip.ip.v6.uint8[0] == 0xFE) && ((ip.ip.v6.uint8[1] & 0xC0) == 0x80))) { |
337 | return true; | 337 | return true; |