aboutsummaryrefslogtreecommitdiff
path: root/contrib/libpcap/pcap_create.3pcap
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libpcap/pcap_create.3pcap')
-rw-r--r--contrib/libpcap/pcap_create.3pcap8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libpcap/pcap_create.3pcap b/contrib/libpcap/pcap_create.3pcap
index 5a15007bfc30..bd42d733f6cb 100644
--- a/contrib/libpcap/pcap_create.3pcap
+++ b/contrib/libpcap/pcap_create.3pcap
@@ -36,7 +36,7 @@ pcap_t *pcap_create(const char *source, char *errbuf);
.ft
.fi
.SH DESCRIPTION
-.B pcap_create()
+.BR pcap_create ()
is used to create a packet capture handle to look
at packets on the network.
.I source
@@ -48,12 +48,12 @@ argument of "any" or
can be used to capture packets from all interfaces.
.PP
The returned handle must be activated with
-.B pcap_activate(3PCAP)
+.BR pcap_activate (3PCAP)
before packets can be captured
with it; options for the capture, such as promiscuous mode, can be set
on the handle before activating it.
.SH RETURN VALUE
-.B pcap_create()
+.BR pcap_create ()
returns a
.I pcap_t *
on success and
@@ -69,4 +69,4 @@ is assumed to be able to hold at least
.B PCAP_ERRBUF_SIZE
chars.
.SH SEE ALSO
-pcap(3PCAP)
+.BR pcap (3PCAP)