Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
3a166684
Commit
3a166684
authored
Nov 10, 2000
by
Brian Wellington
Browse files
fix a few minor problems in the unknown rrtype support.
parent
7443fb7d
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/dns/rdata.c
View file @
3a166684
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rdata.c,v 1.12
0
2000/11/
09 23:54:59
bwelling Exp $ */
/* $Id: rdata.c,v 1.12
1
2000/11/
10 00:25:46
bwelling Exp $ */
#include <config.h>
#include <ctype.h>
...
...
@@ -533,7 +533,7 @@ dns_rdata_towire(dns_rdata_t *rdata, dns_compress_t *cctx,
return
(
result
);
}
isc_result_t
static
isc_result_t
rdata_valid
(
isc_buffer_t
*
buf
,
dns_rdataclass_t
rdclass
,
dns_rdatatype_t
type
,
isc_mem_t
*
mctx
)
{
...
...
@@ -547,8 +547,8 @@ rdata_valid(isc_buffer_t *buf, dns_rdataclass_t rdclass, dns_rdatatype_t type,
result
=
isc_buffer_allocate
(
mctx
,
&
tbuf
,
isc_buffer_length
(
buf
));
if
(
result
==
ISC_R_SUCCESS
)
{
result
=
dns_rdata_fromwire
(
&
rdata
,
rdclass
,
type
,
buf
,
&
dctx
,
ISC_FALSE
,
&
tbuf
);
isc_buffer_free
(
tbuf
);
ISC_FALSE
,
tbuf
);
isc_buffer_free
(
&
tbuf
);
}
dns_decompress_invalidate
(
&
dctx
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment