diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-02-22 21:52:09 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-02-22 21:52:09 +0000 |
commit | 3eb8f4ecdd80a3b9c1631db409f0b9dd97e4c45b (patch) | |
tree | a448372a8b434b624eccd4a16cd74fc674c3da8d /packet-dns.c | |
parent | 1157a3998b902eea4d6792452cf95ae455491020 (diff) |
Add some necessary "volatile" declarations.
svn path=/trunk/; revision=4788
Diffstat (limited to 'packet-dns.c')
-rw-r--r-- | packet-dns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-dns.c b/packet-dns.c index d123829315..6d0af374ae 100644 --- a/packet-dns.c +++ b/packet-dns.c @@ -1,7 +1,7 @@ /* packet-dns.c * Routines for DNS packet disassembly * - * $Id: packet-dns.c,v 1.82 2002/02/22 11:28:03 guy Exp $ + * $Id: packet-dns.c,v 1.83 2002/02/22 21:52:09 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1952,7 +1952,7 @@ dissect_dns_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) static void dissect_dns_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { - int offset = 0; + volatile int offset = 0; int length_remaining; guint16 plen; int length; |