summaryrefslogtreecommitdiff
path: root/pcap_is_swapped.3pcap
diff options
context:
space:
mode:
Diffstat (limited to 'pcap_is_swapped.3pcap')
-rw-r--r--pcap_is_swapped.3pcap6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcap_is_swapped.3pcap b/pcap_is_swapped.3pcap
index c4e62ae54769..67f762fedcfa 100644
--- a/pcap_is_swapped.3pcap
+++ b/pcap_is_swapped.3pcap
@@ -39,11 +39,11 @@ than the current system. For a live capture, it always returns false
(0).
.PP
It must not be called on a pcap descriptor created by
-.B pcap_create()
+.B \%pcap_create(3PCAP)
that has not yet been activated by
-.BR pcap_activate() .
+.BR \%pcap_activate(3PCAP) .
.SH RETURN VALUE
-.B pcap_datalink()
+.B pcap_is_swapped()
returns true (1) or false (0) on success and
.B PCAP_ERROR_NOT_ACTIVATED
if called on a capture handle that has been created but not activated.