summaryrefslogtreecommitdiff
path: root/wiretap/k12text.l
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-01-14 09:00:37 +0000
committerGuy Harris <guy@alum.mit.edu>2012-01-14 09:00:37 +0000
commit37ffde4018bafc7ff052bf318100c85baaa6a662 (patch)
tree88cdb0d8d9579a58909257de9fa70e10a1c3e0a8 /wiretap/k12text.l
parent24c35a40f44fadd10e95ecbe3e15cdef08ad95ac (diff)
downloadwireshark-37ffde4018bafc7ff052bf318100c85baaa6a662.tar.gz
WTAP_ENCAP_UNKNOWN should never appear as an actual encapsulation type,
and can't be supported as an output encapsulation in any case. svn path=/trunk/; revision=40492
Diffstat (limited to 'wiretap/k12text.l')
-rw-r--r--wiretap/k12text.l2
1 files changed, 0 insertions, 2 deletions
diff --git a/wiretap/k12text.l b/wiretap/k12text.l
index 687ef92849..cafc8d08c7 100644
--- a/wiretap/k12text.l
+++ b/wiretap/k12text.l
@@ -187,7 +187,6 @@ k12text_set_pseudo_header(wtap *wth, union wtap_pseudo_header *pseudo_header)
/* out .... */
break;
#endif
- case WTAP_ENCAP_UNKNOWN:
default:
break;
}
@@ -427,7 +426,6 @@ k12text_dump_can_write_encap(int encap)
case WTAP_ENCAP_ETHERNET:
case WTAP_ENCAP_MTP3:
case WTAP_ENCAP_CHDLC:
- case WTAP_ENCAP_UNKNOWN:
return 0;
case WTAP_ENCAP_MTP2:
case WTAP_ENCAP_ATM_PDUS: