diff options
author | 2019-09-03 04:25:10 +0000 | |
---|---|---|
committer | 2019-09-03 04:25:10 +0000 | |
commit | 1c399f6b003dff9c0077f7ef0185c59f3528baf5 (patch) | |
tree | 90500232d91c00a2f0330b6373d2c342f84dac01 /lib/libpcap | |
parent | Correct the length for argument of reallocarray(). This fix the SEGV (diff) | |
download | wireguard-openbsd-1c399f6b003dff9c0077f7ef0185c59f3528baf5.tar.xz wireguard-openbsd-1c399f6b003dff9c0077f7ef0185c59f3528baf5.zip |
pcap-filter(3) is not a function, it is a language description. It was
mostly cobbled together from a pre-mandoc tcpdump manual page, and desperately
needs some loving. First step is to name it right.
Discussed with jmc
Diffstat (limited to 'lib/libpcap')
-rw-r--r-- | lib/libpcap/Makefile | 4 | ||||
-rw-r--r-- | lib/libpcap/pcap-filter.7 (renamed from lib/libpcap/pcap-filter.3) | 2 | ||||
-rw-r--r-- | lib/libpcap/pcap_open_live.3 | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index c2a984b1291..a04eea89172 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.27 2019/08/30 04:00:34 deraadt Exp $ +# $OpenBSD: Makefile,v 1.28 2019/09/03 04:25:10 deraadt Exp $ # $NetBSD: Makefile,v 1.3 1996/05/10 21:54:24 cgd Exp $ LIB= pcap -MAN= pcap_open_live.3 pcap-filter.3 +MAN= pcap_open_live.3 pcap-filter.7 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-filter.3 b/lib/libpcap/pcap-filter.7 index 4c0da989f2c..8c7887c77c7 100644 --- a/lib/libpcap/pcap-filter.3 +++ b/lib/libpcap/pcap-filter.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pcap-filter.3,v 1.3 2018/12/09 15:07:06 denis Exp $ +.\" $OpenBSD: pcap-filter.7,v 1.1 2019/09/03 04:25:10 deraadt Exp $ .\" .\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997 .\" The Regents of the University of California. All rights reserved. diff --git a/lib/libpcap/pcap_open_live.3 b/lib/libpcap/pcap_open_live.3 index d491e6dc6f5..cc0ed47af23 100644 --- a/lib/libpcap/pcap_open_live.3 +++ b/lib/libpcap/pcap_open_live.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pcap_open_live.3,v 1.1 2019/08/30 04:00:34 deraadt Exp $ +.\" $OpenBSD: pcap_open_live.3,v 1.2 2019/09/03 04:25:10 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: August 30 2019 $ +.Dd $Mdocdate: September 3 2019 $ .Dt PCAP_OPEN_LIVE 3 .Os .Sh NAME @@ -653,7 +653,7 @@ routine to an error string. .Fn pcap_offline_filter checks whether a filter matches a packet. .Sh SEE ALSO -.Xr pcap-filter 3 , +.Xr pcap-filter 7 , .Xr tcpdump 8 .\" , tcpslice(1) .Sh AUTHORS |