From: Margaret Wasserman Date: Fri, 14 Feb 2014 01:15:53 +0000 (-0500) Subject: Configure AAA Server hostname, instead of expecting an IP address. X-Git-Tag: 1.3.1~55 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=6cd033ce1a4f0aa232ad47f90835217a4dbecad4;hp=4ab3fe821074ef76339be8f7a81589c4b2cb44ed;p=trust_router.git Configure AAA Server hostname, instead of expecting an IP address. --- diff --git a/tr/tr_main.c b/tr/tr_main.c index 319ab33..9607ed9 100644 --- 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");