Fix docker network interface filter (#564)

docker network address are assigned on network interfaces that start with "br-"
This commit is contained in:
Genteure 2022-11-16 05:07:58 +08:00 committed by GitHub
parent 509d23c7cf
commit c8ace8bbbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ func createNewConfig(managementURL, adminURL, configPath, preSharedKey string) (
} }
config.IFaceBlackList = []string{iface.WgInterfaceDefault, "wt", "utun", "tun0", "zt", "ZeroTier", "utun", "wg", "ts", config.IFaceBlackList = []string{iface.WgInterfaceDefault, "wt", "utun", "tun0", "zt", "ZeroTier", "utun", "wg", "ts",
"Tailscale", "tailscale", "docker", "vet"} "Tailscale", "tailscale", "docker", "veth", "br-"}
err = util.WriteJson(configPath, config) err = util.WriteJson(configPath, config)
if err != nil { if err != nil {