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
17c551be
Commit
17c551be
authored
Nov 17, 1999
by
James Brister
Browse files
Attach (instead of straight pointer copy) a returned dns_c_ipmatchlist
when pulled from a zone.
parent
292031c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/config/confzone.c
View file @
17c551be
...
...
@@ -1655,7 +1655,7 @@ dns_c_zone_getallowupd(isc_log_t *lctx, dns_c_zone_t *zone,
}
if
(
p
!=
NULL
)
{
*
retval
=
p
;
dns_c_ipmatchlist_attach
(
lctx
,
p
,
retval
)
;
res
=
ISC_R_SUCCESS
;
}
else
{
res
=
ISC_R_NOTFOUND
;
...
...
@@ -1703,7 +1703,7 @@ dns_c_zone_getallowquery(isc_log_t *lctx, dns_c_zone_t *zone,
}
if
(
p
!=
NULL
)
{
*
retval
=
p
;
dns_c_ipmatchlist_attach
(
lctx
,
p
,
retval
)
;
res
=
ISC_R_SUCCESS
;
}
else
{
res
=
ISC_R_NOTFOUND
;
...
...
@@ -1752,7 +1752,7 @@ dns_c_zone_getallowtransfer(isc_log_t *lctx, dns_c_zone_t *zone,
}
if
(
p
!=
NULL
)
{
*
retval
=
p
;
dns_c_ipmatchlist_attach
(
lctx
,
p
,
retval
)
;
res
=
ISC_R_SUCCESS
;
}
else
{
res
=
ISC_R_NOTFOUND
;
...
...
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