projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab3fe8
)
Configure AAA Server hostname, instead of expecting an IP address.
author
Margaret Wasserman
<mrw@painless-security.com>
Fri, 14 Feb 2014 01:15:53 +0000
(20:15 -0500)
committer
Margaret Wasserman
<mrw@painless-security.com>
Fri, 14 Feb 2014 01:15:53 +0000
(20:15 -0500)
tr/tr_main.c
patch
|
blob
|
history
diff --git
a/tr/tr_main.c
b/tr/tr_main.c
index
319ab33
..
9607ed9
100644
(file)
--- a/
tr/tr_main.c
+++ b/
tr/tr_main.c
@@
-192,9
+192,8
@@
static int tr_tids_req_handler (TIDS_INSTANCE *tids,
resp_cookie.orig_req = orig_req;
/* Set-up TID connection */
- /* TBD -- handle IPv6 Addresses */
if (-1 == (fwd_req->conn = tidc_open_connection(tidc,
- inet_ntoa(aaa_servers->aaa_server_addr),
+ aaa_servers->hostname->buf,
&(fwd_req->gssctx)))) {
fprintf(stderr, "tr_tids_req_handler: Error in tidc_open_connection.\n");
tids_send_err_response(tids, orig_req, "Can't open connection to next hop TIDS");