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
17a00ff5
Commit
17a00ff5
authored
May 30, 2013
by
Mark Andrews
Browse files
3578. [bug] 'rndc -c file' now fails if 'file' does not exist.
[RT #33571]
parent
6d448739
Changes
2
Show whitespace changes
Inline
Side-by-side
CHANGES
View file @
17a00ff5
3578. [bug] 'rndc -c file' now fails if 'file' does not exist.
[RT #33571]
3577. [bug] Handle zero TTL values better. [RT #33411]
3576. [bug] Address a shutdown race when validating. [RT #33573]
...
...
bin/rndc/rndc.c
View file @
17a00ff5
...
...
@@ -499,6 +499,9 @@ parse_config(isc_mem_t *mctx, isc_log_t *log, const char *keyname,
conffile
=
admin_keyfile
;
conftype
=
&
cfg_type_rndckey
;
if
(
c_flag
)
fatal
(
"%s does not exist"
,
admin_conffile
);
if
(
!
isc_file_exists
(
conffile
))
fatal
(
"neither %s nor %s was found"
,
admin_conffile
,
admin_keyfile
);
...
...
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