aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.c
diff options
context:
space:
mode:
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 a7c1f2af92..f9110f93d7 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.10 1998/12/04 05:59:10 guy Exp $
+ * $Id: packet-dns.c,v 1.11 1998/12/19 00:12:22 hannes 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;
- memset (nameptr, 0, maxname);
+ bzero (nameptr, maxname);
len = copy_name_component_rec(dns_data_ptr, dataptr, nameptr, &str_len);
return len;