summaryrefslogtreecommitdiff
blob: 7bb4a34765aea08846f4d975de00f4710636517f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://bugzilla.netfilter.org/show_bug.cgi?id=1654
--- a/configure.ac
+++ b/configure.ac
@@ -55,9 +55,9 @@ int main()
      struct in6_addr addr6;
      char buf[128];
      if (inet_ntop(AF_INET6, &addr6, buf, 128) == 0 && errno == EAFNOSUPPORT)
-        exit(1);
+        return 1;
      else
-        exit(0);
+        return 0;
   }
   ]])],[ AC_MSG_RESULT(yes)
        AC_DEFINE_UNQUOTED(HAVE_INET_NTOP_IPV6, 1, [Define to 1 if inet_ntop supports IPv6.])