diff options
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r-- | cpukit/libnetworking/libc/ns_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/libc/ns_parse.c b/cpukit/libnetworking/libc/ns_parse.c index cc1f070156..7c5ed343bf 100644 --- a/cpukit/libnetworking/libc/ns_parse.c +++ b/cpukit/libnetworking/libc/ns_parse.c @@ -162,7 +162,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; |