Mercurial > hg > waaad
diff extensions/radius_gw/rgw_clients.c @ 385:03b512313cc1
Added code to handle sessions
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 28 May 2009 13:32:37 +0900 |
parents | e86dba02630a |
children | 1a4902b216f8 |
line wrap: on
line diff
--- a/extensions/radius_gw/rgw_clients.c Thu May 28 11:29:24 2009 +0900 +++ b/extensions/radius_gw/rgw_clients.c Thu May 28 13:32:37 2009 +0900 @@ -268,6 +268,22 @@ return 0; } +int rgw_clients_check_origin(struct rgw_radius_msg_meta *msg, struct rgw_client *cli) +{ + /* Check that the NAS-IP-Adress or NAS-Identifier is coherent with the IP the packet was received from */ + /* Also update the client FQDN and list of aliases if needed */ + + ASSERT(0); + return ENOTSUP; +} + +int rgw_clients_get_origin(struct rgw_client *cli, char * oh, size_t oh_len, char * or, size_t or_len, char **fqdn, char **realm) +{ + ASSERT(0); + return ENOTSUP; +} + + void rgw_clients_dispose(struct rgw_client ** ref) { TRACE_ENTRY("%p", ref);