Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
f9de007a
Commit
f9de007a
authored
Mar 01, 2013
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#ifdef HAVE_GEOIP
parent
e69e6105
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
lib/isccfg/aclconf.c
lib/isccfg/aclconf.c
+2
-0
lib/isccfg/include/isccfg/aclconf.h
lib/isccfg/include/isccfg/aclconf.h
+4
-0
No files found.
lib/isccfg/aclconf.c
View file @
f9de007a
...
...
@@ -58,7 +58,9 @@ cfg_aclconfctx_create(isc_mem_t *mctx, cfg_aclconfctx_t **ret) {
isc_mem_attach
(
mctx
,
&
actx
->
mctx
);
ISC_LIST_INIT
(
actx
->
named_acl_cache
);
#ifdef HAVE_GEOIP
actx
->
geoip
=
NULL
;
#endif
*
ret
=
actx
;
return
(
ISC_R_SUCCESS
);
...
...
lib/isccfg/include/isccfg/aclconf.h
View file @
f9de007a
...
...
@@ -24,13 +24,17 @@
#include <isccfg/cfg.h>
#ifdef HAVE_GEOIP
#include <dns/geoip.h>
#endif
#include <dns/types.h>
typedef
struct
cfg_aclconfctx
{
ISC_LIST
(
dns_acl_t
)
named_acl_cache
;
isc_mem_t
*
mctx
;
#ifdef HAVE_GEOIP
dns_geoip_databases_t
*
geoip
;
#endif
isc_refcount_t
references
;
}
cfg_aclconfctx_t
;
...
...
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