aboutsummaryrefslogtreecommitdiff
path: root/src/tcpip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tcpip.h')
-rw-r--r--src/tcpip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tcpip.h b/src/tcpip.h
index a0fb228..cb5f73f 100644
--- a/src/tcpip.h
+++ b/src/tcpip.h
@@ -89,8 +89,8 @@ struct tcpiphdr {
* size of actual ip+tcp headers, rounded up since we need to align data. */
#define TCPIPHDR_DELTA \
(MAX(0, ((int) sizeof(struct tcpiphdr) - (int) sizeof(struct ip) - \
- (int) sizeof(struct tcphdr) + 3) & \
- ~3))
+ (int) sizeof(struct tcphdr) + 7) & \
+ ~7))
/*
* Just a clean way to get to the first byte