diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-08-30 04:00:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-08-30 04:00:35 +0000 |
commit | a3b4cd6eb099478a727084d85275da8ab20eb9c6 (patch) | |
tree | bf41013d404faea6986e2468c5c6f1dddaa48040 /lib | |
parent | 2ae1e4c1f19dff1f76bf21da180de0be3f78a678 (diff) |
there is no pcap(3) function, "man pcap" returns an incorrect result.
this page should be called by one of the functions, so i chose the first
one: pcap_open_live(3)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpcap/Makefile | 4 | ||||
-rw-r--r-- | lib/libpcap/pcap_open_live.3 (renamed from lib/libpcap/pcap.3) | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 3a5746c5d2d..c2a984b1291 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.26 2017/07/09 15:32:09 espie Exp $ +# $OpenBSD: Makefile,v 1.27 2019/08/30 04:00:34 deraadt Exp $ # $NetBSD: Makefile,v 1.3 1996/05/10 21:54:24 cgd Exp $ LIB= pcap -MAN= pcap.3 pcap-filter.3 +MAN= pcap_open_live.3 pcap-filter.3 DEFS= -DHAVE_SYS_IOCCOM_H -DHAVE_SYS_SOCKIO_H -DHAVE_ETHER_HOSTTON \ -DHAVE_STRERROR -DHAVE_SOCKADDR_SA_LEN -DLBL_ALIGN -DHAVE_IFADDRS_H \ diff --git a/lib/libpcap/pcap.3 b/lib/libpcap/pcap_open_live.3 index a98cfa90f5d..d491e6dc6f5 100644 --- a/lib/libpcap/pcap.3 +++ b/lib/libpcap/pcap_open_live.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pcap.3,v 1.50 2018/12/13 06:47:36 jmc Exp $ +.\" $OpenBSD: pcap_open_live.3,v 1.1 2019/08/30 04:00:34 deraadt Exp $ .\" .\" Copyright (c) 1994, 1996, 1997 .\" The Regents of the University of California. All rights reserved. @@ -19,7 +19,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.Dd $Mdocdate: December 13 2018 $ +.Dd $Mdocdate: August 30 2019 $ .Dt PCAP_OPEN_LIVE 3 .Os .Sh NAME |