set macvtap properly on parse

This commit is contained in:
Vishvananda Ishaya 2015-08-15 10:16:04 -07:00
parent cee28b0a8d
commit 01bbbda86c

View File

@ -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}
}