Review
This commit is contained in:
parent
3ce0297682
commit
7027d0b869
1 changed files with 1 additions and 2 deletions
|
|
@ -29,7 +29,7 @@ builder.Services.AddTypedFactory<IDhcpLeaseWatcherFactory>();
|
|||
builder.Services.AddTransient<KeaDhcp4LeaseHandler>();
|
||||
builder.Services.AddTransient<KeaDhcp6LeaseHandler>();
|
||||
|
||||
builder.WebHost.UseSockets(options =>
|
||||
builder.Services.Configure<SocketTransportOptions>(options =>
|
||||
{
|
||||
options.CreateBoundListenSocket = endpoint =>
|
||||
{
|
||||
|
|
@ -55,7 +55,6 @@ builder.WebHost.UseSockets(options =>
|
|||
};
|
||||
});
|
||||
|
||||
builder.WebHost.UseKestrelCore();
|
||||
builder.WebHost.ConfigureKestrel((context, options) =>
|
||||
{
|
||||
if (context.Configuration.GetRequiredSection("PowerDns:Listener").Get<PowerDnsListenerOptions>() is { } pdnsOptions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue