From: Thomas Markwalder Date: Thu, 6 Jun 2019 19:53:44 +0000 (-0400) Subject: [#16,!9] Addressed more review comments X-Git-Tag: v4_4_2b1~19^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=650ae59eac689500653b1de0032f8220cbe9462e;p=thirdparty%2Fdhcp.git [#16,!9] Addressed more review comments --- diff --git a/omapip/isclib.c b/omapip/isclib.c index cf150babf..fe306b089 100644 --- a/omapip/isclib.c +++ b/omapip/isclib.c @@ -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) */