Typo.
authorSimon Josefsson <simon@josefsson.org>
Wed, 21 Jun 2006 17:53:49 +0000 (17:53 +0000)
committerSimon Josefsson <simon@josefsson.org>
Wed, 21 Jun 2006 17:53:49 +0000 (17:53 +0000)
lib/inet_pton.c

index f2b58bb..39c0869 100644 (file)
@@ -80,7 +80,7 @@ inet_pton (int af, const char *restrict src, void *restrict dst)
     case AF_INET:
       return (inet_pton4 (src, dst));
 
-#if HAVE_IPV4
+#if HAVE_IPV6
     case AF_INET6:
       return (inet_pton6 (src, dst));
 #endif