mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-07-04 01:07:49 +02:00
Skip virtual interfaces when parsing route table
Since routing through virtual interfaces may trigger DNS loop in VPN like observing in UnifiOS Site Magic VPN.
This commit is contained in:
committed by
Cuong Manh Le
parent
5ac9d17bdf
commit
9501e35c60
@@ -0,0 +1,10 @@
|
||||
package ctrld
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func Test_virtualInterfaces(t *testing.T) {
|
||||
vis := virtualInterfaces()
|
||||
t.Log(vis)
|
||||
}
|
||||
Reference in New Issue
Block a user