summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet/ip_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/netinet/ip_input.c')
-rw-r--r--cpukit/libnetworking/netinet/ip_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/netinet/ip_input.c b/cpukit/libnetworking/netinet/ip_input.c
index 02f50de2ec..4a34aa78ed 100644
--- a/cpukit/libnetworking/netinet/ip_input.c
+++ b/cpukit/libnetworking/netinet/ip_input.c
@@ -734,7 +734,7 @@ insert:
#ifdef _IP_VHL
if (next + (IP_VHL_HL(((struct ip *)fp->ipq_next)->ip_vhl) << 2)
#else
- if (next + (((struct ip *)fp->ipq_next)->ip_hl) << 2)
+ if (next + ((((struct ip *)fp->ipq_next)->ip_hl) << 2)
#endif
> IP_MAXPACKET) {
ipstat.ips_toolong++;