summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-06-04 22:38:27 +0000
committerpeter <peter@FreeBSD.org>1999-06-04 22:38:27 +0000
commit800c3a618af55e4e9843329ab84410dd3d8c2f05 (patch)
tree4c4362d86b4eba38636c397c564e41cce93ec4e2 /lib
parent94bd62d081f691e6dbf6e7ca4fd42418a40c7360 (diff)
downloadFreeBSD-src-800c3a618af55e4e9843329ab84410dd3d8c2f05.zip
FreeBSD-src-800c3a618af55e4e9843329ab84410dd3d8c2f05.tar.gz
Change an internal variable from "class" to "ns_class" for C++'s benefit.
Apparently BIND-8.2.1 uses ns_class. Submitted by: John Plevyak <jplevyak@inktomi.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/ns_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/ns_parse.c b/lib/libc/net/ns_parse.c
index 318b363..1fb9205 100644
--- a/lib/libc/net/ns_parse.c
+++ b/lib/libc/net/ns_parse.c
@@ -16,7 +16,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: ns_parse.c,v 8.8 1998/02/17 17:20:33 vixie Exp $";
+static char rcsid[] = "$Id: ns_parse.c,v 1.1 1998/06/11 09:02:40 peter Exp $";
#endif
#include <sys/types.h>
@@ -160,7 +160,7 @@ ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) {
NS_GET16(rr->type, handle->_ptr);
if (handle->_ptr + NS_INT16SZ > handle->_eom)
goto emsgsize;
- NS_GET16(rr->class, handle->_ptr);
+ NS_GET16(rr->rr_class, handle->_ptr);
if (section == ns_s_qd) {
rr->ttl = 0;
rr->rdlength = 0;
OpenPOWER on IntegriCloud