diff options
-rw-r--r-- | src/resv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,10 +85,12 @@ create_resv(const char *name, const char *reason, const dlink_list *list) if (strlen(s) == 2 && IsAlpha(*(s + 1) && IsAlpha(*(s + 2)))) { +#ifdef HAVE_LIBGEOIP exptr = MyMalloc(sizeof(*exptr)); exptr->name = xstrdup(s); exptr->coid = GeoIP_id_by_code(s); dlinkAdd(exptr, &exptr->node, &conf->exempt_list); +#endif } else { |