changeset 6841:b2c0fe3ad032

Revert slightly, from Bruno.
author Simon Josefsson <simon@josefsson.org>
date Mon, 19 Jun 2006 12:28:18 +0000
parents 9c31f76c1acd
children 1b6de7675435
files lib/inet_ntop.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/inet_ntop.c
+++ b/lib/inet_ntop.c
@@ -76,8 +76,10 @@
 {
   switch (af)
     {
+#if HAVE_IPV4
     case AF_INET:
       return (inet_ntop4 (src, dst, cnt));
+#endif
 
 #if HAVE_IPV6
     case AF_INET6: