From: Ilya Nelkenbaum <[email protected]> In inet_any_pton() routine, src_addr was used by mistake instead of addr argument.
Signed-off-by: Ilya Nelkenbaum <[email protected]> Signed-off-by: Hal Rosenstock <[email protected]> --- acm/src/acme.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/acm/src/acme.c b/acm/src/acme.c index 9bf7557..d54c8b9 100644 --- a/acm/src/acme.c +++ b/acm/src/acme.c @@ -787,7 +787,7 @@ static int inet_any_pton(char *addr, struct sockaddr *sa) if (ret <= 0) { sin6 = (struct sockaddr_in6 *) sa; sa->sa_family = AF_INET6; - ret = inet_pton(AF_INET6, src_addr, &sin6->sin6_addr); + ret = inet_pton(AF_INET6, addr, &sin6->sin6_addr); } return ret; -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
