mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-18 22:25:41 +00:00
direct: Fix TUN loopback protection
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user