Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Cannot create VxLan interface with IPv6 local address, underlying enum variant is IFLA_VXLAN_LOCAL instead of IFLA_VXLAN_LOCAL6 #236

Closed
uprhst opened this issue Feb 17, 2022 · 0 comments · Fixed by #239

Comments

@uprhst
Copy link

uprhst commented Feb 17, 2022

During my attempts to setup a vxlan interface with ipv6 local address I stumbled upon netlink errors where the payload message had Local([bytes here]) instead of Local6([...]).

Tracked it down to the code below, where IFLA_VXLAN_LOCAL should be IFLA_VXLAN_LOCAL6 for the Local6() enum variant.

Local(_) => IFLA_VXLAN_LOCAL,
Local6(_) => IFLA_VXLAN_LOCAL,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant