return 0;
}
+#ifdef WITH_DHCP
static rlm_rcode_t CC_HINT(nonnull) mod_post_auth(void *instance, REQUEST *request)
{
-#ifdef WITH_DHCP
int rcode;
VALUE_PAIR *vp;
rlm_soh_t *inst = instance;
}
return RLM_MODULE_OK;
}
-#endif
return RLM_MODULE_NOOP;
}
+#endif
static rlm_rcode_t CC_HINT(nonnull) mod_authorize(UNUSED void * instance, REQUEST *request)
{
.bootstrap = mod_bootstrap,
.methods = {
[MOD_AUTHORIZE] = mod_authorize,
+#ifdef WITH_DHCP
[MOD_POST_AUTH] = mod_post_auth
+#endif
},
};