fix: NewRejectWithOption has wrong type (#1518)

Co-authored-by: nico <nico@starpay.com>
This commit is contained in:
落心 2024-09-18 22:36:20 +08:00 committed by GitHub
parent fb4d3c41c8
commit 58c973ee2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ func NewRejectWithOption(option RejectOption) *Reject {
return &Reject{ return &Reject{
Base: &Base{ Base: &Base{
name: option.Name, name: option.Name,
tp: C.Direct, tp: C.Reject,
udp: true, udp: true,
}, },
} }