aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/service/ifaceconfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/ifaceconfig.go')
-rw-r--r--service/ifaceconfig.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/ifaceconfig.go b/service/ifaceconfig.go
index 7fa8721d..e6770b27 100644
--- a/service/ifaceconfig.go
+++ b/service/ifaceconfig.go
@@ -33,7 +33,7 @@ func bindSocketRoute(family winipcfg.AddressFamily, device *device.Device, ourLu
if route.DestinationPrefix.PrefixLength != 0 || route.InterfaceLuid == ourLuid {
continue
}
- ifrow, err := winipcfg.GetIfRow(route.InterfaceLuid, winipcfg.MibIfEntryNormalWithoutStatistics)
+ ifrow, err := winipcfg.GetIfRow(route.InterfaceLuid)
if err != nil || ifrow.OperStatus != winipcfg.IfOperStatusUp {
log.Printf("Found default route for interface %d, but not up, so skipping", route.InterfaceIndex)
continue