summaryrefslogtreecommitdiffstats
path: root/include/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/network.h')
-rw-r--r--include/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.h b/include/network.h
index 11e65c7..96a0185 100644
--- a/include/network.h
+++ b/include/network.h
@@ -162,7 +162,7 @@ struct netattr {
})
#define NTA_DATA(x) \
- (void *)(((char *)x) + sizeof(struct netattr))
+ (void *)(((char *)x) + NTA_ALIGN(sizeof(struct netattr)))
#define NTA_NEXT(x, len) \
( \