summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2020-03-18 16:11:44 +0100
committerRuben Kerkhof <ruben@rubenkerkhof.com>2020-03-19 18:47:48 +0100
commit8d80a84220d2be0568ed969deb93154fbea98fc8 (patch)
treec6f5e8159f095e029eb1ddaa7da77ebd6b831c28
parent795fbef4dfe44e592281aa7217dc9c89e0bb143f (diff)
lib: cannot use aliased function on Darwin
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
-rw-r--r--lib/ntop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ntop.c b/lib/ntop.c
index 066e10e3e4..ccbf8793d3 100644
--- a/lib/ntop.c
+++ b/lib/ntop.c
@@ -165,7 +165,7 @@ inet4:
return dst;
}
-#ifndef INET_NTOP_NO_OVERRIDE
+#if !defined(INET_NTOP_NO_OVERRIDE) && !defined(__APPLE__)
/* we want to override libc inet_ntop, but make sure it shows up in backtraces
* as frr_inet_ntop (to avoid confusion while debugging)
*/