mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-21 15:24:29 +01: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>
(cherry picked from commit 71ce6cfe9e)
This commit is contained in:
committed by
Fabiano Fidêncio
parent
503ce9c154
commit
893623dfbc
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user