mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-14 09:18:51 +02:00
Fix interface ignore list (#352)
This commit is contained in:
@ -92,6 +92,7 @@ func interfaceFilter(blackList []string) func(string) bool {
|
||||
return func(iFace string) bool {
|
||||
for _, s := range blackList {
|
||||
if strings.HasPrefix(iFace, s) {
|
||||
log.Debugf("ignoring interface %s - it is not allowed", iFace)
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user