Skip to content
GitLab
Projects
Groups
Snippets
/
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
5c90fb23
Commit
5c90fb23
authored
Nov 28, 2000
by
Andreas Gustafsson
Browse files
clarified error messages
parent
ae520c2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/config/confzone.c
View file @
5c90fb23
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: confzone.c,v 1.6
7
2000/11/28
05:24:53 marka
Exp $ */
/* $Id: confzone.c,v 1.6
8
2000/11/28
17:34:06 gson
Exp $ */
#include
<config.h>
...
...
@@ -1689,7 +1689,8 @@ dns_c_zone_setdialup(dns_c_zone_t *zone, dns_dialuptype_t newval) {
case
dns_dialuptype_passive
:
isc_log_write
(
dns_lctx
,
DNS_LOGCATEGORY_CONFIG
,
DNS_LOGMODULE_CONFIG
,
ISC_LOG_CRITICAL
,
"non-master dialup option '%s'"
,
"dialup option '%s' cannot be used with "
"master zones"
,
dialup_totext
(
newval
));
return
(
ISC_R_FAILURE
);
default:
...
...
@@ -1713,7 +1714,8 @@ dns_c_zone_setdialup(dns_c_zone_t *zone, dns_dialuptype_t newval) {
newval
==
dns_dialuptype_notifypassive
)
{
isc_log_write
(
dns_lctx
,
DNS_LOGCATEGORY_CONFIG
,
DNS_LOGMODULE_CONFIG
,
ISC_LOG_CRITICAL
,
"non-stub dialup option '%s'"
,
"dialup option '%s' cannot be used "
"with stub zones"
,
dialup_totext
(
newval
));
return
(
ISC_R_FAILURE
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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