From c06e6ae74db948b301bf783b61154113a065d2ea Mon Sep 17 00:00:00 2001 From: Adam Dunkels Date: Tue, 24 Mar 2015 22:28:04 +0100 Subject: [PATCH] Explicitly use the IPv6 address copy macro when copying IPv6 addresses --- core/net/http-socket/http-socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/net/http-socket/http-socket.c b/core/net/http-socket/http-socket.c index 413642675..758c1473e 100644 --- a/core/net/http-socket/http-socket.c +++ b/core/net/http-socket/http-socket.c @@ -488,7 +488,7 @@ start_request(struct http_socket *s) /* Check if we are to route the request through a proxy. */ if(s->proxy_port != 0) { /* The proxy address should be an IPv6 address. */ - uip_ipaddr_copy(&ip6addr, &s->proxy_addr); + uip_ip6addr_copy(&ip6addr, &s->proxy_addr); port = s->proxy_port; } else if(uiplib_ip6addrconv(host, &ip6addr) == 0) { /* First check if the host is an IP address. */