projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
723ff8c
)
Trustrouter integration: fix field names
author
Sam Hartman
<hartmans@debian.org>
Mon, 2 Mar 2015 15:34:15 +0000
(10:34 -0500)
committer
Sam Hartman
<hartmans@debian.org>
Mon, 2 Mar 2015 15:34:15 +0000
(10:34 -0500)
Between 3.0.6 and 3.0.7 the home_server changed field names to use
log_name rather than hostname. Update to be consistent.
src/modules/rlm_realm/trustrouter.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_realm/trustrouter.c
b/src/modules/rlm_realm/trustrouter.c
index
04a59c2
..
ef630ba
100644
(file)
--- a/
src/modules/rlm_realm/trustrouter.c
+++ b/
src/modules/rlm_realm/trustrouter.c
@@
-195,8
+195,8
@@
static home_server_t *srvr_blk_to_home_server(TALLOC_CTX *ctx,
hs->type = HOME_TYPE_AUTH;
hs->ipaddr = home_server_ip;
hs->src_ipaddr.af = home_server_ip.af;
- hs->name = talloc_asprintf(hs, "%s-for-%s", nametemp, realm_name);
- hs->
host
name = talloc_strdup(hs, nametemp);
+ hs->
log_
name = talloc_asprintf(hs, "%s-for-%s", nametemp, realm_name);
+ hs->name = talloc_strdup(hs, nametemp);
hs->port = port;
hs->proto = IPPROTO_TCP;
hs->secret = talloc_strdup(hs, "radsec");