ping: Fix not handling reject

This commit is contained in:
世界 2025-08-27 00:12:17 +08:00
parent 055fe13ec0
commit 4c43f4af12
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
3 changed files with 21 additions and 5 deletions

View file

@ -12,7 +12,10 @@ import (
"github.com/sagernet/sing/common/logger"
)
var ErrDrop = E.New("drop connections by rule")
var (
ErrDrop = E.New("drop by rule")
ErrReset = E.New("reset by rule")
)
type Stack interface {
Start() error