aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sf-pcapng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sf-pcapng.c b/sf-pcapng.c
index 4ab415ed..cb97f785 100644
--- a/sf-pcapng.c
+++ b/sf-pcapng.c
@@ -1243,7 +1243,7 @@ pcap_ng_next_packet(pcap_t *p, struct pcap_pkthdr *hdr, u_char **data)
if ((bpf_u_int32)p->snapshot !=
pcap_adjust_snapshot(p->linktype, idbp->snaplen)) {
snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
- "an interface has a snapshot length %u different from the type of the first interface",
+ "an interface has a snapshot length %u different from the snapshot length of the first interface",
idbp->snaplen);
return (-1);
}