summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ZOpenPort.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/ZOpenPort.c b/lib/ZOpenPort.c
index b8241db..75cec22 100644
--- a/lib/ZOpenPort.c
+++ b/lib/ZOpenPort.c
@@ -22,9 +22,6 @@ Code_t ZOpenPort(port)
{
struct sockaddr_in bindin;
int len;
-#ifdef SO_BSDCOMPAT
- int on = 1;
-#endif
(void) ZClosePort();
@@ -33,11 +30,6 @@ Code_t ZOpenPort(port)
return (errno);
}
-#ifdef SO_BSDCOMPAT
- /* Prevent Linux from giving us socket errors we don't care about. */
- setsockopt(__Zephyr_fd, SOL_SOCKET, SO_BSDCOMPAT, &on, sizeof(on));
-#endif
-
bindin.sin_family = AF_INET;
if (port && *port)