Skip to content
Snippets Groups Projects
Commit 7a4589e8 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

skip nonlocal socket bind if not supported

parent 30e7d8ae
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ static const struct option *nonlocal_option(int family)
static void enable_nonlocal(int socket, int family)
{
const struct option *opt = nonlocal_option(family);
if (!opt) {
if (opt == NULL || opt->name == 0) {
return;
}
......
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