mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-28 19:01:46 +08:00
Fix: panic when using direct proxy
This commit is contained in:
@@ -15,7 +15,9 @@ type Direct struct {
|
||||
}
|
||||
|
||||
func NewDirect() *Direct {
|
||||
return &Direct{}
|
||||
return &Direct{
|
||||
Base: &Base{},
|
||||
}
|
||||
}
|
||||
|
||||
func (d *Direct) Type() string {
|
||||
|
||||
Reference in New Issue
Block a user