summaryrefslogtreecommitdiff
path: root/wiretap/k12text.l
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/k12text.l')
-rw-r--r--wiretap/k12text.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/k12text.l b/wiretap/k12text.l
index 9aed765f8d..f203fa7edb 100644
--- a/wiretap/k12text.l
+++ b/wiretap/k12text.l
@@ -399,7 +399,7 @@ k12text_dump(wtap_dumper *wdh _U_, const struct wtap_pkthdr *phdr,
/*
* That encapsulation type is not supported. Fail.
*/
- *err = WTAP_ERR_UNSUPPORTED_ENCAP;
+ *err = WTAP_ERR_UNWRITABLE_ENCAP;
return FALSE;
}
@@ -458,7 +458,7 @@ k12text_dump_can_write_encap(int encap)
case WTAP_ENCAP_MTP2:
case WTAP_ENCAP_ATM_PDUS:
default:
- return WTAP_ERR_UNSUPPORTED_ENCAP;
+ return WTAP_ERR_UNWRITABLE_ENCAP;
}
}