aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1998-12-20 01:47:05 +0000
committerGuy Harris <guy@alum.mit.edu>1998-12-20 01:47:05 +0000
commit7aa5722e3c97b43dffff9ab45dc5620b4bd4e13f (patch)
tree83bf368dccb1ef803c21d179cffdec381b1960d7 /packet-dns.c
parent183c35b0b4861d5ab670b618064e2af4c45be065 (diff)
downloadwireshark-7aa5722e3c97b43dffff9ab45dc5620b4bd4e13f.tar.gz
wireshark-7aa5722e3c97b43dffff9ab45dc5620b4bd4e13f.tar.bz2
wireshark-7aa5722e3c97b43dffff9ab45dc5620b4bd4e13f.zip
Back out change that Hannes Boehm said he didn't intend to commit,
replacing "memset(..., 0, ...)" with "bzero(..., ...)" - he asked me to remove the change. svn path=/trunk/; revision=130
Diffstat (limited to 'packet-dns.c')
-rw-r--r--packet-dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-dns.c b/packet-dns.c
index f9110f93d7..b057972291 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.11 1998/12/19 00:12:22 hannes Exp $
+ * $Id: packet-dns.c,v 1.12 1998/12/20 01:47:05 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -216,7 +216,7 @@ get_dns_name(const u_char *dns_data_ptr, const u_char *pd, int offset,
const u_char *dataptr = pd + offset;
int str_len = 0;
- bzero (nameptr, maxname);
+ memset (nameptr, 0, maxname);
len = copy_name_component_rec(dns_data_ptr, dataptr, nameptr, &str_len);
return len;