diff options
author | hannes <hannes@localhost> | 1998-12-19 00:12:23 +0000 |
---|---|---|
committer | hannes <hannes@localhost> | 1998-12-19 00:12:23 +0000 |
commit | 183c35b0b4861d5ab670b618064e2af4c45be065 (patch) | |
tree | 271b08b6660865a0a330802d951cd7d0162d9cdd /packet-dns.c | |
parent | e071c655551c364c4ceafee9cf62698ec69b8758 (diff) | |
download | wireshark-183c35b0b4861d5ab670b618064e2af4c45be065.tar.gz wireshark-183c35b0b4861d5ab670b618064e2af4c45be065.tar.bz2 wireshark-183c35b0b4861d5ab670b618064e2af4c45be065.zip |
Added "Cisco Discovery Protocol" Hooks
Added Ethernet Loopback Protocol Type to ethertype.c
svn path=/trunk/; revision=129
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 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; |