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
D
dhcp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
64
Issues
64
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
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
dhcp
Commits
650ae59e
Commit
650ae59e
authored
Jun 06, 2019
by
Thomas Markwalder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#16
,
!9
] Addressed more review comments
parent
5df5813d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
omapip/isclib.c
omapip/isclib.c
+6
-6
No files found.
omapip/isclib.c
View file @
650ae59e
...
...
@@ -82,7 +82,7 @@ dhcp_dns_client_setservers(void)
}
return
(
result
);
}
#endif
#endif
/* defined NSUPDATE */
void
isclib_cleanup
(
void
)
...
...
@@ -90,7 +90,7 @@ isclib_cleanup(void)
#if defined (NSUPDATE)
if
(
dhcp_gbl_ctx
.
dnsclient
!=
NULL
)
dns_client_destroy
((
dns_client_t
**
)
&
dhcp_gbl_ctx
.
dnsclient
);
#endif
#endif
/* defined NSUPDATE */
if
(
dhcp_gbl_ctx
.
task
!=
NULL
)
{
isc_task_shutdown
(
dhcp_gbl_ctx
.
task
);
...
...
@@ -171,14 +171,14 @@ dhcp_context_create(int flags,
result
=
dns_lib_init
();
if
(
result
!=
ISC_R_SUCCESS
)
goto
cleanup
;
#else
#else
/* defined NSUPDATE */
/* The dst library is inited as part of dns_lib_init, we don't
* need it if NSUPDATE is enabled */
result
=
dst_lib_init
(
dhcp_gbl_ctx
.
mctx
,
NULL
,
0
);
if
(
result
!=
ISC_R_SUCCESS
)
goto
cleanup
;
#endif
#endif
/* defined NSUPDATE */
result
=
isc_appctx_create
(
dhcp_gbl_ctx
.
mctx
,
&
dhcp_gbl_ctx
.
actx
);
...
...
@@ -246,7 +246,7 @@ dhcp_context_create(int flags,
result
=
dns_client_init
();
}
}
#endif
#endif
/* defined NSUPDATE */
return
(
ISC_R_SUCCESS
);
...
...
@@ -388,4 +388,4 @@ isc_result_t dns_client_init() {
return
ISC_R_SUCCESS
;
}
#endif /
/ defined (NSUPDATE)
#endif
/
* defined (NSUPDATE) */
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