summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet/ip_input.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-29 14:31:08 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-29 14:31:08 +0000
commit491f63a5b35e8df0d3062f69d4a0d89aada6f03b (patch)
treec85ddd5f49e9959a5e0c50c20ab0dd98b115d200 /cpukit/libnetworking/netinet/ip_input.c
parent2007-03-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-491f63a5b35e8df0d3062f69d4a0d89aada6f03b.tar.bz2
Further _IP_VHL removal preps.
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++;