aboutsummaryrefslogtreecommitdiff
path: root/pcap_setdirection.3pcap
diff options
context:
space:
mode:
Diffstat (limited to 'pcap_setdirection.3pcap')
-rw-r--r--pcap_setdirection.3pcap8
1 files changed, 5 insertions, 3 deletions
diff --git a/pcap_setdirection.3pcap b/pcap_setdirection.3pcap
index 7b388450..04278e84 100644
--- a/pcap_setdirection.3pcap
+++ b/pcap_setdirection.3pcap
@@ -17,7 +17,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH PCAP_SETDIRECTION 3PCAP "25 July 2018"
+.TH PCAP_SETDIRECTION 3PCAP "5 March 2022"
.SH NAME
pcap_setdirection \- set the direction for which packets will be captured
.SH SYNOPSIS
@@ -59,9 +59,11 @@ This operation is not supported if a ``savefile'' is being read.
.BR pcap_setdirection ()
returns
.B 0
-on success and
+on success,
+.B PCAP_ERROR_NOT_ACTIVATED
+if called on a capture handle that has been created but not activated, or
.B PCAP_ERROR
-on failure. If
+on other errors. If
.B PCAP_ERROR
is returned,
.BR pcap_geterr (3PCAP)