Take the line rate as a constant so nothing has to be plugged in, and drop the config box

This commit is contained in:
flamingcow
2026-08-04 21:58:52 -07:00
parent 01d673dc83
commit 4c7062d600
3 changed files with 16 additions and 43 deletions
+3
View File
@@ -585,6 +585,9 @@ func withIoctlSocket(fn func(fd int) []checkResult) []checkResult {
return fn(fd)
}
// Nothing here waits for a carrier: the two ports are the two ends of the cable
// under test, so with no cable there will never be one, and a dead wire is a
// result to report rather than a reason to refuse to start.
func configureSystem(ifnames []string, ethertypes []uint16) []checkResult {
return withIoctlSocket(func(fd int) []checkResult {
out := []checkResult{checkGovernor(wantGovernor)}