Merge pull request #413 from jlee-r7/bug/6893-sniffer-linktype

Default to ethernet if the server doesn't specify
unstable
sinn3r 2012-05-23 10:18:11 -07:00
commit f988622369
1 changed files with 1 additions and 1 deletions

View File

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