Merge pull request #413 from jlee-r7/bug/6893-sniffer-linktype
Default to ethernet if the server doesn't specifyunstable
commit
f988622369
|
@ -96,7 +96,7 @@ class Sniffer < Extension
|
|||
{
|
||||
:packets => response.get_tlv_value(TLV_TYPE_SNIFFER_PACKET_COUNT),
|
||||
:bytes => response.get_tlv_value(TLV_TYPE_SNIFFER_BYTE_COUNT),
|
||||
:linktype => response.get_tlv_value(TLV_TYPE_SNIFFER_INTERFACE_ID),
|
||||
:linktype => response.get_tlv_value(TLV_TYPE_SNIFFER_INTERFACE_ID) || 1,
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue