lib/pio/lldp/frame.rb in pio-0.30.0 vs lib/pio/lldp/frame.rb in pio-0.30.1

- old
+ new

@@ -9,14 +9,14 @@ module Pio # LLDP frame parser and generator. class Lldp # LLDP frame class Frame < BinData::Record - include EthernetHeader + include Ethernet endian :big - ethernet_header ether_type: EtherType::LLDP + ethernet_header ether_type: Ethernet::Type::LLDP chassis_id_tlv :chassis_id port_id_tlv :port_id ttl_tlv :ttl, initial_value: 120 array(:optional_tlv, type: :optional_tlv,