diff options
author | Philip Paeps <philip@FreeBSD.org> | 2019-10-06 04:26:37 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2019-10-06 04:26:37 +0000 |
commit | 30a580a870fabfea51e4b970c488e58bd1515ce4 (patch) | |
tree | cf18fcdc7c1818418ee5fc375ca4ba2094583a41 /pcap-libdlpi.c | |
parent | d109bf9e4b609b5a0626b433e56db4a47dc530bb (diff) | |
download | src-30a580a870fabfea51e4b970c488e58bd1515ce4.tar.gz src-30a580a870fabfea51e4b970c488e58bd1515ce4.zip |
Import libpcap 1.9.1vendor/libpcap/1.9.1
Notes
Notes:
svn path=/vendor/libpcap/dist/; revision=353141
svn path=/vendor/libpcap/1.9.1/; revision=353142; tag=vendor/libpcap/1.9.1
Diffstat (limited to 'pcap-libdlpi.c')
-rw-r--r-- | pcap-libdlpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-libdlpi.c b/pcap-libdlpi.c index a0d16693f6c2..a38da8b6d0ee 100644 --- a/pcap-libdlpi.c +++ b/pcap-libdlpi.c @@ -80,7 +80,7 @@ list_interfaces(const char *linkname, void *arg) lwp->lw_err = ENOMEM; return (B_TRUE); } - (void) strlcpy(entry->linkname, linkname, DLPI_LINKNAME_MAX); + (void) pcap_strlcpy(entry->linkname, linkname, DLPI_LINKNAME_MAX); if (lwp->lw_list == NULL) { lwp->lw_list = entry; |