aboutsummaryrefslogtreecommitdiff
path: root/sf-pcapng.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-03-12 21:55:40 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-03-12 21:56:22 +0100
commitdedcfbec21a1360eca7ef47e4a72dba7cf18f0f4 (patch)
tree6ed7cbf1f69282da9f15b746dbe7bd4064a6be72 /sf-pcapng.c
parent4d04d21d1571493774ce9802af49f8b67ee953f0 (diff)
Fix an error message
Probably a copy & paste error.
Diffstat (limited to 'sf-pcapng.c')
-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);
}