diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-05-27 05:35:08 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-05-27 05:35:08 +0000 |
commit | cf84edfcf44d438cf0a065675f7282812540496e (patch) | |
tree | c9c351f31c2e38502d49f9c51963e926e0fb0125 /packet-dns.h | |
parent | 5f99945363948f02c0e7cf6edcf6d829d72fd9c7 (diff) | |
download | wireshark-cf84edfcf44d438cf0a065675f7282812540496e.tar.gz wireshark-cf84edfcf44d438cf0a065675f7282812540496e.tar.bz2 wireshark-cf84edfcf44d438cf0a065675f7282812540496e.zip |
Correctly handle the case of the root showing up as a name in a DNS
request or reply. (Redid "get_dns_name()" along the lines of the code
in the BSD resolver.)
Add code to dissect SOA RRs.
svn path=/trunk/; revision=297
Diffstat (limited to 'packet-dns.h')
-rw-r--r-- | packet-dns.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-dns.h b/packet-dns.h index fd35f962b5..8d9b5a6933 100644 --- a/packet-dns.h +++ b/packet-dns.h @@ -2,7 +2,7 @@ * Definitions for packet disassembly structures and routines used both by * DNS and NBNS. * - * $Id: packet-dns.h,v 1.2 1999/03/23 03:14:36 gram Exp $ + * $Id: packet-dns.h,v 1.3 1999/05/27 05:35:08 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -30,8 +30,8 @@ char *dns_class_name(int class); -int get_dns_name(const u_char *dns_data_ptr, const u_char *pd, int offset, - char *nameptr, int maxname); +int get_dns_name(const u_char *dns_data_ptr, const u_char *pd, + char *name, int maxname); #define MAXDNAME 1025 /* maximum domain name length */ |