projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Commit changes to allow a default server and to improve peering config.
[trust_router.git]
/
common
/
tr_idp.c
diff --git
a/common/tr_idp.c
b/common/tr_idp.c
index
8eca04d
..
eb0c6fd
100644
(file)
--- a/
common/tr_idp.c
+++ b/
common/tr_idp.c
@@
-52,3
+52,11
@@
TR_AAA_SERVER *tr_idp_aaa_server_lookup(TR_INSTANCE *tr, TR_NAME *idp_realm, TR_
else
return NULL;
}
+
+TR_AAA_SERVER *tr_default_server_lookup(TR_INSTANCE *tr, TR_NAME *comm)
+{
+ if ((!tr) || (!(tr->active_cfg)))
+ return NULL;
+
+ return(tr->active_cfg->default_servers);
+}