X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fipv6.h;h=883590bf16b8ccac10c5adc6f8b7a557a07be391;hb=a86faaf34711d6b0f278b670d70a229a3cf0d479;hp=6a4466f11d37e652121a11037e11eab4b09d1c77;hpb=19be9cf7150858311f7898fa3fb525d692d02f64;p=meshlink diff --git a/src/ipv6.h b/src/ipv6.h index 6a4466f1..883590bf 100644 --- a/src/ipv6.h +++ b/src/ipv6.h @@ -1,7 +1,7 @@ /* ipv6.h -- missing IPv6 related definitions Copyright (C) 2005 Ivo Timmermans - 2006-2012 Guus Sliepen + 2006-2012 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -54,9 +54,9 @@ struct sockaddr_in6 { #ifndef IN6_IS_ADDR_V4MAPPED #define IN6_IS_ADDR_V4MAPPED(a) \ - ((((__const uint32_t *) (a))[0] == 0) \ - && (((__const uint32_t *) (a))[1] == 0) \ - && (((__const uint32_t *) (a))[2] == htonl (0xffff))) + ((((__const uint32_t *) (a))[0] == 0) \ + && (((__const uint32_t *) (a))[1] == 0) \ + && (((__const uint32_t *) (a))[2] == htonl (0xffff))) #endif #ifndef HAVE_STRUCT_IP6_HDR