summaryrefslogtreecommitdiff
path: root/pcap-septel.c
diff options
context:
space:
mode:
authorPhilip Paeps <philip@FreeBSD.org>2019-10-06 04:26:37 +0000
committerPhilip Paeps <philip@FreeBSD.org>2019-10-06 04:26:37 +0000
commit30a580a870fabfea51e4b970c488e58bd1515ce4 (patch)
treecf18fcdc7c1818418ee5fc375ca4ba2094583a41 /pcap-septel.c
parentd109bf9e4b609b5a0626b433e56db4a47dc530bb (diff)
downloadsrc-test2-30a580a870fabfea51e4b970c488e58bd1515ce4.tar.gz
src-test2-30a580a870fabfea51e4b970c488e58bd1515ce4.zip
Notes
Diffstat (limited to 'pcap-septel.c')
-rw-r--r--pcap-septel.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/pcap-septel.c b/pcap-septel.c
index 0471153fdc7a..24cb47bb3962 100644
--- a/pcap-septel.c
+++ b/pcap-septel.c
@@ -1,15 +1,6 @@
/*
* pcap-septel.c: Packet capture interface for Intel/Septel card.
*
- * The functionality of this code attempts to mimic that of pcap-linux as much
- * as possible. This code is compiled in several different ways depending on
- * whether SEPTEL_ONLY and HAVE_SEPTEL_API are defined. If HAVE_SEPTEL_API is
- * not defined it should not get compiled in, otherwise if SEPTEL_ONLY is
- * defined then the 'septel_' function calls are renamed to 'pcap_'
- * equivalents. If SEPTEL_ONLY is not defined then nothing is altered - the
- * septel_ functions will be called as required from their
- * pcap-linux/equivalents.
- *
* Authors: Gilbert HOYEK (gil_hoyek@hotmail.com), Elias M. KHOURY
* (+961 3 485243)
*/
@@ -182,7 +173,7 @@ loop:
static int
septel_inject(pcap_t *handle, const void *buf _U_, size_t size _U_)
{
- strlcpy(handle->errbuf, "Sending packets isn't supported on Septel cards",
+ pcap_strlcpy(handle->errbuf, "Sending packets isn't supported on Septel cards",
PCAP_ERRBUF_SIZE);
return (-1);
}