changeset 2949:a3b53bb6aade draft

Tidy definitions
author Roy Marples <roy@marples.name>
date Wed, 18 Feb 2015 13:40:40 +0000
parents 386220c70bde
children 9403b51adfc5
files ipv6.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ipv6.h	Wed Feb 18 13:40:23 2015 +0000
+++ b/ipv6.h	Wed Feb 18 13:40:40 2015 +0000
@@ -233,11 +233,11 @@
     const struct in6_addr *);
 struct ipv6_addr *ipv6_findaddr(struct dhcpcd_ctx *,
     const struct in6_addr *, short);
-#define ipv6_linklocal(ifp) (ipv6_iffindaddr((ifp), NULL))
+#define ipv6_linklocal(ifp) ipv6_iffindaddr((ifp), NULL)
 int ipv6_addlinklocalcallback(struct interface *, void (*)(void *), void *);
 void ipv6_freedrop(struct interface *, int);
-#define ipv6_free(ifp) ipv6_freedrop(ifp, 0)
-#define ipv6_drop(ifp) ipv6_freedrop(ifp, 2)
+#define ipv6_free(ifp) ipv6_freedrop((ifp), 0)
+#define ipv6_drop(ifp) ipv6_freedrop((ifp), 2)
 
 #ifdef IPV6_MANAGETEMPADDR
 void ipv6_gentempifid(struct interface *);