aboutsummaryrefslogtreecommitdiff
path: root/pcap_compile.3pcap.in
diff options
context:
space:
mode:
Diffstat (limited to 'pcap_compile.3pcap.in')
-rw-r--r--pcap_compile.3pcap.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/pcap_compile.3pcap.in b/pcap_compile.3pcap.in
index bc38e9ec..31a64e6c 100644
--- a/pcap_compile.3pcap.in
+++ b/pcap_compile.3pcap.in
@@ -17,7 +17,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH PCAP_COMPILE 3PCAP "24 March 2017"
+.TH PCAP_COMPILE 3PCAP "25 July 2018"
.SH NAME
pcap_compile \- compile a filter expression
.SH SYNOPSIS
@@ -67,8 +67,11 @@ in multiple threads in a single process without some form of mutual
exclusion allowing only one thread to call it at any given time.
.SH RETURN VALUE
.B pcap_compile()
-returns 0 on success and \-1 on failure.
-If \-1 is returned,
+returns 0 on success and
+.B PCAP_ERROR
+on failure. If
+.B PCAP_ERROR
+is returned,
.B pcap_geterr(3PCAP)
or
.B pcap_perror(3PCAP)