From fa2e8d756f44c1a876f60f6cde362779f61bad40 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Tue, 16 Nov 2021 13:32:40 +0100 Subject: [PATCH] fix: Get rid of syntax errors ...for now --- network.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/network.go b/network.go index 665a4de..1cebe71 100644 --- a/network.go +++ b/network.go @@ -100,11 +100,12 @@ func GetGuestNicProto() (*GuestNicProto, error) { r := InetCidrRouteEntry{ InetCidrRouteDest: addr, InetCidrRoutePfxLen: InetAddressPrefixLength(routePrefix), - InetCidrRouteNextHop: route.Gw., + // InetCidrRouteNextHop: route.Gw, InetCidrRouteIfIndex: 0, InetCidrRouteType: 0, InetCidrRouteMetric: 0, } + res.Routes = append(res.Routes, r) } res.Nics = append(res.Nics, nic)