From ac96bc8d2f1fbdbf9d7a1780297781572985ff29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=B8=EF=B8=8F?= <29265684+buffermet@users.noreply.github.com> Date: Tue, 21 Sep 2021 00:40:55 +1000 Subject: [PATCH] fix IPv6 routing table parsing --- routing/update_linux.go | 1 + 1 file changed, 1 insertion(+) 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 {