diff options
Diffstat (limited to 'include/network.h')
-rw-r--r-- | include/network.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/network.h b/include/network.h index f8fdd0d..e92f6c3 100644 --- a/include/network.h +++ b/include/network.h @@ -152,10 +152,10 @@ struct netattr { (void *)(((char *)x) + sizeof(struct netattr)) #define NTA_NEXT(x, len) \ -({ \ - len -= NTA_ALIGN(NTA_LENGTH(x->nta_len)); \ - (struct netattr *)(((char *)x) + NTA_ALIGN(NTA_LENGTH(x->nta_len))); \ -}) +( \ + len -= NTA_ALIGN(NTA_LENGTH(x->nta_len)), \ + (struct netattr *)(((char *)x) + NTA_ALIGN(NTA_LENGTH(x->nta_len))) \ +) #define NTA_ALIGNTO 4 #define NTA_ALIGN(len) (((len) + NTA_ALIGNTO - 1) & ~(NTA_ALIGNTO - 1)) |