return 0;
}
+ if ((mi->entry->module->type & RLM_TYPE_HUP_SAFE) == 0) {
+ cprintf(listener, "ERROR: Cannot change configuration of module as it is cannot be HUP'd.\n");
+ return 0;
+ }
+
variables = cf_section_parse_table(mi->cs);
if (!variables) {
cprintf(listener, "ERROR: Cannot find configuration for module\n");
* If it's a string, look for leading single/double quotes,
* end then call tokenize functions???
*/
-#if 0
cf_pair_replace(mi->cs, cp, argv[2]);
rcode = cf_item_parse(mi->cs, argv[1], variables[i].type,
cprintf(listener, "ERROR: Failed to parse value\n");
return 0;
}
-#endif
return 1; /* success */
}
*/
sock = this->data;
memcpy(this, listener, sizeof(*this));
+ this->status = RAD_LISTEN_STATUS_INIT;
this->next = NULL;
this->data = sock; /* fix it back */