Default to ethernet if the server doesn't specify
Still need to recompile sniffer, but this will fix the immediate problem of stack traces and failing to save the pcap.unstable
parent
e97994fdde
commit
dc08bc337b
|
@ -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