forked from osmocom/wireshark
From Mark C. Brown: add the HP-PB FDDI card type, although we currently
don't have any code to handle it (other than to report that fact...). Also, refer to the subsystem type code as such, not as a "network type". svn path=/trunk/; revision=12178
This commit is contained in:
parent
6aad0b0543
commit
d525c0129e
|
@ -509,9 +509,17 @@ nettl_read_rec_header(wtap *wth, FILE_T fh, struct wtap_pkthdr *phdr,
|
||||||
pseudo_header->x25.flags =
|
pseudo_header->x25.flags =
|
||||||
(lapb_hdr.from_dce & 0x20 ? FROM_DCE : 0x00);
|
(lapb_hdr.from_dce & 0x20 ? FROM_DCE : 0x00);
|
||||||
break;
|
break;
|
||||||
|
case NETTL_SUBSYS_HPPB_FDDI :
|
||||||
|
/* HP-PB FDDI has a different trace records for inbound vs outbound
|
||||||
|
Still need to work out a way 'round that...
|
||||||
|
*/
|
||||||
|
*err = WTAP_ERR_UNSUPPORTED_ENCAP;
|
||||||
|
*err_info = g_strdup_printf("nettl: HP-PB FDDI [Subsystem %u] currently unsupported",
|
||||||
|
encap[3]);
|
||||||
|
return -1;
|
||||||
default:
|
default:
|
||||||
*err = WTAP_ERR_UNSUPPORTED_ENCAP;
|
*err = WTAP_ERR_UNSUPPORTED_ENCAP;
|
||||||
*err_info = g_strdup_printf("nettl: network type %u unknown or unsupported",
|
*err_info = g_strdup_printf("nettl: subsystem %u unknown or unsupported",
|
||||||
encap[3]);
|
encap[3]);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -87,6 +87,7 @@
|
||||||
#define NETTL_SUBSYS_IETHER 253
|
#define NETTL_SUBSYS_IETHER 253
|
||||||
|
|
||||||
/* FDDI cards */
|
/* FDDI cards */
|
||||||
|
#define NETTL_SUBSYS_HPPB_FDDI 95
|
||||||
#define NETTL_SUBSYS_PCI_FDDI 176
|
#define NETTL_SUBSYS_PCI_FDDI 176
|
||||||
|
|
||||||
/* Token Ring cards */
|
/* Token Ring cards */
|
||||||
|
|
Loading…
Reference in New Issue