mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-10-21 03:23:08 +00:00
direct: Fix TUN loopback protection
This commit is contained in:
parent
1389e2fd8e
commit
4f15700db3
1 changed files with 4 additions and 0 deletions
|
|
@ -86,6 +86,10 @@ func (h *Outbound) Start(stage adapter.StartStage) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func (h *Outbound) Close() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (h *Outbound) fetchMyAddresses() {
|
||||
if len(h.myAddresses.Load()) > 0 {
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue