aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ip.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-02-21 19:42:37 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-02-21 19:42:37 +0000
commit68763b3e278db0b67253d491f4af7d61da5be2b3 (patch)
tree097abf2402649973e9286ab3a791e467b571d6ff /packet-ip.c
parent35d8c6cbb25a9a1ec612a978b6f15fc494e31733 (diff)
Initialize hf_ip_checksum_bad to -1 like all other fields.
svn path=/trunk/; revision=3064
Diffstat (limited to 'packet-ip.c')
-rw-r--r--packet-ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ip.c b/packet-ip.c
index effb8a0653..850cecc7a2 100644
--- a/packet-ip.c
+++ b/packet-ip.c
@@ -1,7 +1,7 @@
/* packet-ip.c
* Routines for IP and miscellaneous IP protocol packet disassembly
*
- * $Id: packet-ip.c,v 1.123 2001/02/21 19:35:49 guy Exp $
+ * $Id: packet-ip.c,v 1.124 2001/02/21 19:42:37 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -87,7 +87,7 @@ static int hf_ip_frag_offset = -1;
static int hf_ip_ttl = -1;
static int hf_ip_proto = -1;
static int hf_ip_checksum = -1;
-static int hf_ip_checksum_bad = 0;
+static int hf_ip_checksum_bad = -1;
static gint ett_ip = -1;
static gint ett_ip_dsfield = -1;