Commit b2c617d7 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't muck about with Linux #defines

parent 7a226ebd
......@@ -151,7 +151,7 @@ VTCP_filter_http(int sock)
return (i);
#elif defined(__linux)
int defer = 1;
setsockopt(sock, SOL_TCP,VTCP_DEFER_ACCEPT,(char *) &defer, sizeof(int));
setsockopt(sock, SOL_TCP,TCP_DEFER_ACCEPT,(char *) &defer, sizeof(int));
return (0);
#else
(void)sock;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment