mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
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. Signed-off-by: Samuel Ortiz <s.ortiz@apple.com>
This commit is contained in:
parent
99450bd1f7
commit
71ce6cfe9e
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user