mirror of
https://github.com/vishvananda/netlink
synced 2025-03-25 04:26:51 +00:00
set macvtap properly on parse
This commit is contained in:
parent
cee28b0a8d
commit
01bbbda86c
@ -505,6 +505,8 @@ func linkDeserialize(m []byte) (Link, error) {
|
||||
link = &IPVlan{}
|
||||
case "macvlan":
|
||||
link = &Macvlan{}
|
||||
case "macvtap":
|
||||
link = &Macvtap{}
|
||||
default:
|
||||
link = &Generic{LinkType: linkType}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user