mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 12:27:36 +03:00
Fix quic sniff irl
This commit is contained in:
parent
730144cc26
commit
4432cc2253
2 changed files with 43 additions and 13 deletions
|
@ -28,6 +28,7 @@ func PeekPacket(ctx context.Context, packet []byte, sniffers ...PacketSniffer) (
|
|||
for _, sniffer := range sniffers {
|
||||
sniffMetadata, err := sniffer(ctx, packet)
|
||||
if err != nil {
|
||||
println(err.Error())
|
||||
return nil, err
|
||||
}
|
||||
return sniffMetadata, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue