Skip to content
Snippets Groups Projects
Commit 55640c94 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

server: add #else case into enable_pktinfo

parent 87c5fbc4
No related branches found
No related tags found
1 merge request!492udp answer from correct address
......@@ -112,6 +112,8 @@ static bool enable_pktinfo(int sock, int family)
option = IP_PKTINFO; /* Linux */
#elif defined(IP_RECVDSTADDR)
option = IP_RECVDSTADDR; /* BSD */
#else
return false;
#endif
break;
case AF_INET6:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment