runtime: Pass the route IP family to the agent
When updating the guest routing table, we should forward the IP family
information up to the guest.
@@ -1048,6 +1048,7 @@ func generateVCNetworkStructures(ctx context.Context, networkNS NetworkNamespace
r.Device = endpoint.Name()
r.Scope = uint32(route.Scope)
+ r.Family = utils.ConvertNetlinkFamily((int32)(route.Family))
routes = append(routes, &r)
}
