summaryrefslogtreecommitdiff
path: root/wiretap/netxray.c
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap/netxray.c')
-rw-r--r--wiretap/netxray.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/netxray.c b/wiretap/netxray.c
index 49e810ad61..320729ad4c 100644
--- a/wiretap/netxray.c
+++ b/wiretap/netxray.c
@@ -561,7 +561,7 @@ netxray_open(wtap *wth, int *err, gchar **err_info)
if (network_type >= NUM_NETXRAY_ENCAPS
|| netxray_encap[network_type] == WTAP_ENCAP_UNKNOWN) {
- *err = WTAP_ERR_UNSUPPORTED_ENCAP;
+ *err = WTAP_ERR_UNSUPPORTED;
*err_info = g_strdup_printf("netxray: network type %u (%u) unknown or unsupported",
network_type, hdr.network_plus);
return -1;
@@ -823,7 +823,7 @@ netxray_open(wtap *wth, int *err, gchar **err_info)
break;
default:
- *err = WTAP_ERR_UNSUPPORTED_ENCAP;
+ *err = WTAP_ERR_UNSUPPORTED;
*err_info = g_strdup_printf("netxray: WAN HDLC capture subsubtype 0x%02x unknown or unsupported",
hdr.wan_hdlc_subsub_captype);
return -1;
@@ -845,7 +845,7 @@ netxray_open(wtap *wth, int *err, gchar **err_info)
break;
default:
- *err = WTAP_ERR_UNSUPPORTED_ENCAP;
+ *err = WTAP_ERR_UNSUPPORTED;
*err_info = g_strdup_printf("netxray: WAN capture subtype 0x%02x unknown or unsupported",
hdr.captype);
return -1;