From a9fa0d5f2bd5254464f63a7312857fcec83bf37f Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 11 Sep 2013 04:26:39 +0100 Subject: [ipv6] Add inet6_aton() Signed-off-by: Michael Brown --- src/include/ipxe/in.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/ipxe') diff --git a/src/include/ipxe/in.h b/src/include/ipxe/in.h index a1821b1fb..a37784e2e 100644 --- a/src/include/ipxe/in.h +++ b/src/include/ipxe/in.h @@ -120,6 +120,7 @@ struct sockaddr_in6 { extern int inet_aton ( const char *cp, struct in_addr *inp ); extern char * inet_ntoa ( struct in_addr in ); -extern char * inet6_ntoa ( const struct in6_addr *in6 ); +extern int inet6_aton ( const char *string, struct in6_addr *in ); +extern char * inet6_ntoa ( const struct in6_addr *in ); #endif /* _IPXE_IN_H */ -- cgit v1.2.3-55-g7522