You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
460 B
21 lines
460 B
Index: src/hlua_fcn.c |
|
--- src/hlua_fcn.c.orig 2018-10-05 13:03:10.000000000 +0200 |
|
+++ src/hlua_fcn.c 2018-10-05 17:45:13.050877000 +0200 |
|
@@ -1087,7 +1087,8 @@ |
|
lua_pushboolean(L, 1); |
|
return 1; |
|
} |
|
- } else { |
|
+#if defined(AF_INET6) && !defined(__FreeBSD__) |
|
+ } else if (addr1->type === AF_INET6) { |
|
int i; |
|
|
|
for (i = 0; i < 16; i += 4) { |
|
@@ -1101,6 +1102,7 @@ |
|
lua_pushboolean(L, 1); |
|
return 1; |
|
} |
|
+#endif |
|
} |
|
|
|
lua_pushboolean(L, 0);
|
|
|