summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/if_addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/x86_64/linux/if_addr.h')
-rw-r--r--include/arch/x86_64/linux/if_addr.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/arch/x86_64/linux/if_addr.h b/include/arch/x86_64/linux/if_addr.h
index 43512efe..0200880e 100644
--- a/include/arch/x86_64/linux/if_addr.h
+++ b/include/arch/x86_64/linux/if_addr.h
@@ -65,9 +65,7 @@ struct ifa_cacheinfo {
};
/* backwards compatibility for userspace */
-#define IFA_RTA(r) \
- ((struct rtattr *)(((char *)(r)) + \
- NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
+#define IFA_RTA(r) ((struct rtattr *)(((char *)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
#define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct ifaddrmsg))
/* ifa_proto */