Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
637
Issues
637
List
Boards
Labels
Service Desk
Milestones
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
023dd2cf
Commit
023dd2cf
authored
Jan 23, 2002
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reverse also-notify changes. dns_zone_setalsonotify() has relaxed its calling
convention. Correct INSIST
parent
b6e20238
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
11 deletions
+7
-11
bin/named/config.c
bin/named/config.c
+2
-5
bin/named/lwresd.c
bin/named/lwresd.c
+2
-2
bin/named/zoneconf.c
bin/named/zoneconf.c
+3
-4
No files found.
bin/named/config.c
View file @
023dd2cf
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.c,v 1.2
5 2002/01/14 04:16:00
marka Exp $ */
/* $Id: config.c,v 1.2
6 2002/01/23 02:12:22
marka Exp $ */
#include <config.h>
...
...
@@ -249,14 +249,11 @@ ns_config_getiplist(cfg_obj_t *config, cfg_obj_t *list,
isc_result_t
result
;
INSIST
(
addrsp
!=
NULL
&&
*
addrsp
==
NULL
);
INSIST
(
countp
!=
NULL
&&
*
addrsp
==
0
);
INSIST
(
countp
!=
NULL
);
addrlist
=
cfg_tuple_get
(
list
,
"addresses"
);
count
=
ns_config_listcount
(
addrlist
);
if
(
count
==
0
)
return
(
ISC_R_SUCCESS
);
portobj
=
cfg_tuple_get
(
list
,
"port"
);
if
(
cfg_obj_isuint32
(
portobj
))
{
isc_uint32_t
val
=
cfg_obj_asuint32
(
portobj
);
...
...
bin/named/lwresd.c
View file @
023dd2cf
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwresd.c,v 1.4
1 2002/01/14 04:15:59
marka Exp $ */
/* $Id: lwresd.c,v 1.4
2 2002/01/23 02:12:21
marka Exp $ */
/*
* Main program for the Lightweight Resolver Daemon.
...
...
@@ -776,7 +776,7 @@ ns_lwresd_configure(isc_mem_t *mctx, cfg_obj_t *config) {
ns_lwresd_t
*
lwresd
;
in_port_t
port
;
isc_sockaddr_t
*
addrs
=
NULL
;
isc_uint32_t
count
=
0
;
isc_uint32_t
count
;
lwres
=
cfg_listelt_value
(
element
);
lwresd
=
NULL
;
...
...
bin/named/zoneconf.c
View file @
023dd2cf
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zoneconf.c,v 1.
99 2002/01/21 11:00:12 bwelling
Exp $ */
/* $Id: zoneconf.c,v 1.
100 2002/01/23 02:12:24 marka
Exp $ */
#include <config.h>
...
...
@@ -440,15 +440,14 @@ ns_zone_configure(cfg_obj_t *config, cfg_obj_t *vconfig, cfg_obj_t *zconfig,
result
=
ns_config_get
(
maps
,
"also-notify"
,
&
obj
);
if
(
result
==
ISC_R_SUCCESS
)
{
isc_sockaddr_t
*
addrs
=
NULL
;
isc_uint32_t
addrcount
=
0
;
isc_uint32_t
addrcount
;
result
=
ns_config_getiplist
(
config
,
obj
,
0
,
mctx
,
&
addrs
,
&
addrcount
);
if
(
result
!=
ISC_R_SUCCESS
)
return
(
result
);
result
=
dns_zone_setalsonotify
(
zone
,
addrs
,
addrcount
);
if
(
addrs
!=
NULL
)
ns_config_putiplist
(
mctx
,
&
addrs
,
addrcount
);
ns_config_putiplist
(
mctx
,
&
addrs
,
addrcount
);
if
(
result
!=
ISC_R_SUCCESS
)
return
(
result
);
}
else
...
...
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