1c27190f3252c709de99e03f5b9bfb473e2c1fbf
10 int __plugin_api_version
= 1;
13 int plugin_radius_response(struct param_radius_response
*data
)
15 if (strcmp(data
->key
, "intercept") == 0)
17 if (strcmp(data
->value
, "yes") == 0)
19 p
.log(3, 0, 0, 0, " Intercepting user\n");
22 else if (strcmp(data
->value
, "no") == 0)
24 p
.log(3, 0, 0, 0, " Not intercepting user\n");
31 int plugin_init(struct pluginfuncs
*funcs
)
34 memcpy(&p
, funcs
, sizeof(p
));