From dedcfbec21a1360eca7ef47e4a72dba7cf18f0f4 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Thu, 12 Mar 2020 21:55:40 +0100 Subject: Fix an error message Probably a copy & paste error. --- sf-pcapng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sf-pcapng.c') 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); } -- cgit v1.2.3