aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/erf.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/erf.c')
-rw-r--r--wiretap/erf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/erf.c b/wiretap/erf.c
index fc3700e2cf..2398d15912 100644
--- a/wiretap/erf.c
+++ b/wiretap/erf.c
@@ -715,7 +715,7 @@ int erf_dump_can_write_encap(int encap)
return 0;
if (wtap_wtap_encap_to_erf_encap(encap) == -1)
- return WTAP_ERR_UNSUPPORTED_ENCAP;
+ return WTAP_ERR_UNWRITABLE_ENCAP;
return 0;
}