Use WTAP_ERR_UNSUPPORTED_ENCAP for all attempts to open or read a
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 19 Feb 2000 08:00:08 +0000 (08:00 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 19 Feb 2000 08:00:08 +0000 (08:00 +0000)
commitd5baf0f68a1f38e71070ca0170e1b9f48ae27feb
tree1cb5d9d7ecc359592c1b10ea73028296927a2894
parent3fa536845497b5feab7f60cb276615f0694339b6
Use WTAP_ERR_UNSUPPORTED_ENCAP for all attempts to open or read a
capture file for an unsupported link-layer encapsulation type (as the
nettl reader does), and report it correctly if it occurs on an open or
read attempt rather than a save attempt.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1647 f5534014-38df-0310-8fa8-9805f1628bb7
file.c
tethereal.c
wiretap/iptrace.c
wiretap/libpcap.c
wiretap/netmon.c
wiretap/netxray.c
wiretap/ngsniffer.c
wiretap/radcom.c
wiretap/snoop.c
wiretap/wtap.h