Fix windows monitor
This commit is contained in:
parent
0cdb0eed74
commit
8507bb3a0a
1 changed files with 4 additions and 0 deletions
|
|
@ -67,6 +67,10 @@ func (m *defaultInterfaceMonitor) checkUpdate() error {
|
|||
var index int
|
||||
|
||||
for _, row := range rows {
|
||||
if row.DestinationPrefix.PrefixLength != 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
ifrow, err := row.InterfaceLUID.Interface()
|
||||
if err != nil || ifrow.OperStatus != winipcfg.IfOperStatusUp {
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue