mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-14 04:39:33 +00:00
There seems to be one change[1] which breaks our tests, the route Dst field is no longer nil for a default route but rather the empty ipnet, i.e. 0.0.0.0/0 and ::/0 so fix that up in our code. [1] https://github.com/vishvananda/netlink/pull/852 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
21 lines
493 B
Go
21 lines
493 B
Go
package nl
|
|
|
|
// id's of route attribute from https://elixir.bootlin.com/linux/v5.17.3/source/include/uapi/linux/lwtunnel.h#L38
|
|
// the value's size are specified in https://elixir.bootlin.com/linux/v5.17.3/source/net/ipv4/ip_tunnel_core.c#L928
|
|
|
|
const (
|
|
LWTUNNEL_IP6_UNSPEC = iota
|
|
LWTUNNEL_IP6_ID
|
|
LWTUNNEL_IP6_DST
|
|
LWTUNNEL_IP6_SRC
|
|
LWTUNNEL_IP6_HOPLIMIT
|
|
LWTUNNEL_IP6_TC
|
|
LWTUNNEL_IP6_FLAGS
|
|
LWTUNNEL_IP6_PAD // not implemented
|
|
LWTUNNEL_IP6_OPTS // not implemented
|
|
__LWTUNNEL_IP6_MAX
|
|
)
|
|
|
|
|
|
|
|
|