|
|
@ -759,20 +759,7 @@ namespace llarp
|
|
|
|
AddInboundLink(server);
|
|
|
|
AddInboundLink(server);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(af == AF_INET6)
|
|
|
|
LogError("failed to bind inbound link on ", key, " port ", val);
|
|
|
|
{
|
|
|
|
|
|
|
|
// we failed to configure IPv6
|
|
|
|
|
|
|
|
// try IPv4
|
|
|
|
|
|
|
|
llarp::LogInfo("link ", key,
|
|
|
|
|
|
|
|
" failed to configure IPv6, trying IPv4");
|
|
|
|
|
|
|
|
af = AF_INET;
|
|
|
|
|
|
|
|
if(server->Configure(netloop(), key, af, proto))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
AddInboundLink(server);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
llarp::LogError("Failed to set up curvecp link");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(StrEq(section, "network"))
|
|
|
|
else if(StrEq(section, "network"))
|
|
|
|