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