summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2020-05-29 05:51:20 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2020-05-29 05:51:20 +0000
commit041cbcfa62eede3a58ac7dd59cf09cb510a56ee4 (patch)
tree3deb9608ad14c3bbea2e83b1839cd4a24ebd17bc /lib
parent511bc2157466a506e7685865d832806c0a0affa8 (diff)
from edgar pettijohn: correct return type in pcap_open_live.3;
ok djm
Diffstat (limited to 'lib')
-rw-r--r--lib/libpcap/pcap_open_live.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpcap/pcap_open_live.3 b/lib/libpcap/pcap_open_live.3
index 136c1dc64fd..5756db9c459 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.3 2019/09/25 17:02:00 jmc Exp $
+.\" $OpenBSD: pcap_open_live.3,v 1.4 2020/05/29 05:51:19 jmc 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: September 25 2019 $
+.Dd $Mdocdate: May 29 2020 $
.Dt PCAP_OPEN_LIVE 3
.Os
.Sh NAME
@@ -95,7 +95,7 @@
.Fn pcap_dump_fopen "pcap_t *p" "FILE *f"
.Ft "char *"
.Fn pcap_lookupdev "char *errbuf"
-.Ft uint
+.Ft int
.Fn pcap_lookupnet "const char *device" "bpf_u_int32 *netp" "bpf_u_int32 *maskp" "char *errbuf"
.Ft int
.Fn pcap_dispatch "pcap_t *p" "int cnt" "pcap_handler callback" "u_char *user"