mirror of
https://github.com/clearlinux/netlink.git
synced 2026-08-22 05:56:10 +00:00
set macvtap properly on parse
This commit is contained in:
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user