David Lawrence
99f627f2a9
In dns_opt_attrtotext(), declare and set omit_final_dot only when
...
DNS_OPT_NEWCODES is defined. In dns_opt_totext(), do not declare or
set omit_final_dot at all.
2000-11-15 23:40:00 +00:00
David Lawrence
2197bdf6b1
fixed prototype for static build_SYS_str_reasons()
2000-11-15 23:19:05 +00:00
David Lawrence
f604b5ab0b
A test of a result in an INSIST() in dns_db_getsoaserial() was improperly
...
actually setting the result.
2000-11-15 23:16:33 +00:00
David Lawrence
e7b6119384
removed extraneous semicolon
2000-11-15 23:12:27 +00:00
David Lawrence
9bcf5e9a14
assign the result of copy_ptr_targets to the event result in lookup_done()
2000-11-15 23:07:58 +00:00
David Lawrence
ba7ea2326d
dns_aclelement_match() returns an isc_boolean_t, but if dns_acl_match()
...
within it returned a result that was not ISC_R_SUCCESS, then that result
code was being returned. Since dns_acl_match() always returns ISC_R_SUCCESS,
the erroneous return was converted into an INSIST().
2000-11-15 22:59:55 +00:00
David Lawrence
78e5d07050
comment why <sys/time.h> is needed
2000-11-15 22:41:56 +00:00
David Lawrence
5ed0ffc1f7
clean up const warnings
2000-11-15 22:38:51 +00:00
David Lawrence
61632c1973
tokens after #endif
2000-11-15 20:47:54 +00:00
Andreas Gustafsson
8c962eba3d
I really shouldn't commit stuff until it at least compiles
2000-11-15 19:11:36 +00:00
Andreas Gustafsson
ab889e996d
use dns_rdataclass_format()
2000-11-15 19:06:04 +00:00
Andreas Gustafsson
d3a86da2e8
563. [func] New public functions dns_rdatatype_format() and
...
dns_rdataclass_format(), for convenient formatting
of rdata type/class mnemonics in log messages.
2000-11-15 19:05:32 +00:00
Mark Andrews
3fdad8e3bb
adjust is_lame test for same level.
2000-11-15 04:53:06 +00:00
Mark Andrews
edc9f47a1d
add #include <sys/time.h>
2000-11-15 03:58:53 +00:00
David Lawrence
21ec512685
some systems do not implement all of the resources of
...
the isc_resource_t enum, so the API was changed to return
ISC_R_NOTIMPLEMENTED in such cases.
2000-11-15 02:11:50 +00:00
Andreas Gustafsson
4b7018f4cc
illegal token after #endif
2000-11-15 01:31:45 +00:00
Andreas Gustafsson
88658c1300
fetch-glue, min-roots, and max-ixfr-log size are now considered
...
obsolete
2000-11-15 01:30:12 +00:00
Andreas Gustafsson
7863e6bd43
provide a more detailed error message when configuring
...
a TSIG key fails [RT #461 ]
2000-11-15 00:52:04 +00:00
Andreas Gustafsson
6a56be50dd
new result code DNS_R_BADALG
2000-11-15 00:51:17 +00:00
Brian Wellington
b8d6376e1b
the ungettoken changes also broke multiline records.
2000-11-15 00:42:53 +00:00
Andreas Gustafsson
850d708185
562. [cleanup] Moved lib/dns/*conf.c to bin/named where they belong.
2000-11-15 00:36:42 +00:00
David Lawrence
e94e2fe29d
cope with the possibility that the prefix of a name
...
split within a bitstring label might have been compacted to have fewer
labels than what was expected
2000-11-14 23:51:24 +00:00
David Lawrence
e28b5084ec
Bitstring labels *still* suck. They didn't somehow magically get less
...
sucky in the past couple of months. The nerve.
Anyway, dns_name_split now correctly compacts the preceding bitstring label
(if any) when a maximal bitstring is split.
It also correctly creates the suffix when a maximal bitstring is split.
It was doing this incorrectly before, independent of the compaction issue.
2000-11-14 23:48:02 +00:00
David Lawrence
7ff4d6ebca
compile unix/resource.c
2000-11-14 23:43:36 +00:00
David Lawrence
3fdfcc7977
use symbolic constant for formatting 64 bit ints
2000-11-14 23:42:29 +00:00
David Lawrence
1097943242
would have helped if the MIN/MAX for all of the signed integers were not
...
reversed.
2000-11-14 23:41:46 +00:00
David Lawrence
6c7b702df1
symbolic constant for the format string of a 64 bit long
2000-11-14 23:40:31 +00:00
David Lawrence
d653744935
isc_resource_t, isc_resourcevalue_t
2000-11-14 23:39:34 +00:00
David Lawrence
015c481e8b
new functions, isc_resource_getlimit and isc_resource_setlimit, via new
...
header file, <isc/resource.h>
2000-11-14 23:39:15 +00:00
David Lawrence
b59aac4816
new functions, isc_resource_getlimit and isc_resource_setlimit
2000-11-14 23:38:10 +00:00
David Lawrence
1ab0c9558f
map EPERM to ISC_R_NOPERM
2000-11-14 23:37:26 +00:00
David Lawrence
91676aba50
provide errno by way of errno.h
2000-11-14 23:37:10 +00:00
David Lawrence
be9a4bd82a
symbolic constants for integral maximums and signed integral minimums
2000-11-14 23:35:43 +00:00
Brian Wellington
942d1a339b
Decompression contexts now take a type instead of the "strict" boolean
...
value - the type can be "any", "strict", or "none". This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
Andreas Gustafsson
4301257d29
the 'dialup' access functions operate on dns_dialuptypt_t, not boolean
2000-11-14 20:14:17 +00:00
Andreas Gustafsson
daf99720c9
the existence of a dynamically allocated array for the NXT
...
bits should not depend on its length
2000-11-14 18:14:44 +00:00
Brian Wellington
78d78f05d9
556. [func] The DNSSEC OK bit in the EDNS extended flags
...
is now implemented. Responses to queries without
this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Brian Wellington
1f2f5445ec
remove an uninitialized variable warning
2000-11-13 21:29:27 +00:00
Andreas Gustafsson
5afc10d6d8
554. [bug] Slave server attempting zone transfer could crash
...
with an assertion failure on certain malformed
responses from the master. [RT #457 ]
2000-11-13 20:12:29 +00:00
Brian Wellington
47fa8b4c8f
fix outdated comments
2000-11-13 20:12:03 +00:00
Andreas Gustafsson
626b221f71
553. [bug] Incoming zone transfers deferred due to quota
...
were not started when quota was increased but
only when a transfer in progress finished. [RT #456 ]
2000-11-13 18:19:27 +00:00
Mark Andrews
733e928f71
552. [bug] We were not correctly detecting the end of all c-style
...
comments. [RT #455 ]
2000-11-13 04:09:40 +00:00
Andreas Gustafsson
ae7e8784aa
log messages should not be capitalized
2000-11-11 02:14:50 +00:00
Andreas Gustafsson
f58cfa95f7
comment formatting
2000-11-11 02:14:25 +00:00
Andreas Gustafsson
c2a94d89f9
clarified comments
2000-11-11 01:15:33 +00:00
Andreas Gustafsson
244e29639a
our coding standards say:
...
Source which becomes obsolete should be removed, not just disabled with
#if 0 ... #endif.
2000-11-11 01:07:32 +00:00
Andreas Gustafsson
dcd12febbd
dns_zone_configure() does not need to special-case hint zones,
...
because it must never be called for them
2000-11-11 01:05:43 +00:00
Andreas Gustafsson
c2f4fe7f95
clarified comment; fixed spacing
2000-11-11 01:02:28 +00:00
Andreas Gustafsson
84abb95f7e
551. [func] Implemented the 'sortlist' option.
2000-11-10 03:41:08 +00:00
Andreas Gustafsson
febaa09184
551. [func] Implemented the 'sortlist' option.
2000-11-10 03:16:26 +00:00