containernetworking / cni

Container Network Interface - networking for Linux containers
https://cni.dev
Apache License 2.0
5.58k stars 1.08k forks source link

Route should include dev name #1117

Open MikeZappa87 opened 2 months ago

MikeZappa87 commented 2 months ago

The Route struct currently does not have an easy way to associate a Route with a interface. We should include the device name as a field to the Route struct

https://github.com/containernetworking/cni/blob/4c9ae43c0eaa85ec1ab27781e9b258f13e7fd0ca/pkg/types/types.go#L180

maiqueb commented 2 months ago

/cc