VlanInfo: Parse the new protocol attribute

This commit is contained in:
nick
2013-11-13 17:52:32 +00:00
parent 610a70fe12
commit 0281a5e4eb
2 changed files with 7 additions and 5 deletions

View File

@@ -122,6 +122,7 @@ module Netlink
:unpack => lambda { |str,obj| VlanFlags.parse(str) }
rtattr :egress_qos, IFLA_VLAN_EGRESS_QOS
rtattr :ingress_qos, IFLA_VLAN_INGRESS_QOS
rtattr :protocol, IFLA_VLAN_PROTOCOL, :ushort
end
module Route