85a2ebc1c4
Issue #1082
15 lines
496 B
Diff
15 lines
496 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.
|
|
|
|
+++ src/lib/lwip/src/include/lwip/sockets.h
|
|
@@ -115,7 +115,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
|