Skip to content

Commit c1e603a

Browse files
committed
Bad inquiries should be observable.
1 parent 6cd699f commit c1e603a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ async Task admin(CancellationToken ct)
383383
var internal_port = info.internal_port;
384384
byte[] buffer = [0x2e, 0x12, (byte)(internal_port >> 8), (byte)internal_port, port_high, port_low, .. ep_bytes];
385385
await control.SendAsync(buffer.AsMemory(), packet.RemoteEndPoint, ct);
386-
}
386+
} else await Console.Out.WriteLineAsync($"{DateTime.UtcNow:s}: Inquiry for unknown client {client_ep} on port {server_port}.");
387387
}
388388
break;
389389

0 commit comments

Comments
 (0)