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
This commit is contained in:
Guy Harris 2012-01-14 09:00:37 +00:00
parent 24c35a40f4
commit 37ffde4018
1 changed files with 0 additions and 2 deletions

View File

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