From ea968180a23d48edc121215359277e418b476487 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 7 Feb 2024 14:25:14 +0100 Subject: Read Ipv6 address and netmask using `getifaddrs()` instead of reading `/proc/net/if_inet6`. * fixes a compatibility issue with Mac OSX Signed-off-by: Toni Uhlig --- scripts/get-and-build-libndpi.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts/get-and-build-libndpi.sh') diff --git a/scripts/get-and-build-libndpi.sh b/scripts/get-and-build-libndpi.sh index 27d2e2455..3b19922eb 100755 --- a/scripts/get-and-build-libndpi.sh +++ b/scripts/get-and-build-libndpi.sh @@ -31,11 +31,7 @@ if [ ! -z "${CC}" ]; then HOST_TRIPLET="$(${CC} ${CFLAGS} -dumpmachine)" fi -if [ ! -z "${MAKEFLAGS}" ]; then - case "$(uname -s)" in - Linux*) MAKEFLAGS="-${MAKEFLAGS}" ;; - esac -fi +MAKEFLAGS="-${MAKEFLAGS}" cat <