Emery Hemingway
e36ddaf659
Rename LwIP library in preparation for removal of LwIP libc plugin. The current LwIP library will be replaced with a new version stripped of its synchronous socket support. The next version will be incompatible with the current, so removing 'lwip.lib.so' completely for a period makes it easy to identify legacy users. Fix #2797
16 lines
518 B
Diff
16 lines
518 B
Diff
Our FreeBSD libc based libc defines SOL_SOCKET as 0xffff. We change
|
|
lwip's definition from 0xfff to match ours. This prevents us from
|
|
converting the level when we call {g,s}etsockopt.
|
|
|
|
--- a/src/include/lwip/sockets.h
|
|
+++ b/src/include/lwip/sockets.h
|
|
@@ -131,7 +131,7 @@ struct linger {
|
|
/*
|
|
* Level number for (get/set)sockopt() to apply to socket itself.
|
|
*/
|
|
-#define SOL_SOCKET 0xfff /* options for socket level */
|
|
+#define SOL_SOCKET 0xffff /* options for socket level */
|
|
|
|
|
|
#define AF_UNSPEC 0
|