mirror of
https://github.com/net-byte/go-gateway.git
synced 2024-04-21 12:21:40 +00:00
fix
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ func parseToWindowsRouteStructIPv6(output []byte) (windowsRouteStructIPv6, error
|
|||||||
}
|
}
|
||||||
|
|
||||||
fields := strings.Fields(lines[idx+2])
|
fields := strings.Fields(lines[idx+2])
|
||||||
if len(fields) < 5 {
|
if len(fields) < 4 {
|
||||||
return windowsRouteStructIPv6{}, errCantParse
|
return windowsRouteStructIPv6{}, errCantParse
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user