fix: Get rid of syntax errors
All checks were successful
continuous-integration/drone/push Build is passing

...for now
This commit is contained in:
ptrcnull 2021-11-16 13:32:40 +01:00
parent 12be94f4e5
commit fa2e8d756f

View file

@ -100,11 +100,12 @@ func GetGuestNicProto() (*GuestNicProto, error) {
r := InetCidrRouteEntry{ r := InetCidrRouteEntry{
InetCidrRouteDest: addr, InetCidrRouteDest: addr,
InetCidrRoutePfxLen: InetAddressPrefixLength(routePrefix), InetCidrRoutePfxLen: InetAddressPrefixLength(routePrefix),
InetCidrRouteNextHop: route.Gw., // InetCidrRouteNextHop: route.Gw,
InetCidrRouteIfIndex: 0, InetCidrRouteIfIndex: 0,
InetCidrRouteType: 0, InetCidrRouteType: 0,
InetCidrRouteMetric: 0, InetCidrRouteMetric: 0,
} }
res.Routes = append(res.Routes, r)
} }
res.Nics = append(res.Nics, nic) res.Nics = append(res.Nics, nic)