From 9b9036221a0850c4d0698a20c34729453ef173e6 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 19 Jun 2006 12:28:18 +0000 Subject: [PATCH] Revert slightly, from Bruno. --- lib/inet_ntop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c index 34574be072..8329c827db 100644 --- a/lib/inet_ntop.c +++ b/lib/inet_ntop.c @@ -76,8 +76,10 @@ inet_ntop (int af, const void *restrict src, { switch (af) { +#if HAVE_IPV4 case AF_INET: return (inet_ntop4 (src, dst, cnt)); +#endif #if HAVE_IPV6 case AF_INET6: -- 2.30.2