direct: Fix TUN loopback protection

This commit is contained in:
世界 2026-08-27 12:45:59 +08:00
parent 1389e2fd8e
commit 4f15700db3
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -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