diff --git a/routing/update_linux.go b/routing/update_linux.go index fbf0b09f4..eb98ea576 100644 --- a/routing/update_linux.go +++ b/routing/update_linux.go @@ -20,6 +20,7 @@ func update() ([]Route, error) { if err != nil { return nil, err } + output = strings.ReplaceAll(output, "Next Hop", "NextHop") for _, line := range strings.Split(output, "\n") { if line = str.Trim(line); len(line) != 0 {