Commit 7a4589e8 authored by Jan Včelák's avatar Jan Včelák 🚀

skip nonlocal socket bind if not supported

parent 30e7d8ae
......@@ -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;
}
......
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