aboutsummaryrefslogtreecommitdiff
path: root/pcap_offline_filter.3pcap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-11-23 20:56:35 -0800
committerGuy Harris <guy@alum.mit.edu>2019-11-23 20:56:35 -0800
commit48fbe321170f30de3e0c2aed5927aff9b0893a66 (patch)
treeca007998219e42ea1660767ff19ebd7c57d9adbb /pcap_offline_filter.3pcap
parentb262e73dfdda6599b3b08750fcd6ff2a6a5a16c0 (diff)
Style cleanup.
Use the BSD house style, in which, in foobar() returns 17 on success and 137 on failure. "foobar" is boldfaced but "()" isn't.
Diffstat (limited to 'pcap_offline_filter.3pcap')
-rw-r--r--pcap_offline_filter.3pcap4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap_offline_filter.3pcap b/pcap_offline_filter.3pcap
index 418ad82e..dbb6e966 100644
--- a/pcap_offline_filter.3pcap
+++ b/pcap_offline_filter.3pcap
@@ -33,7 +33,7 @@ const struct pcap_pkthdr *h, const u_char *pkt)
.ft
.fi
.SH DESCRIPTION
-.B pcap_offline_filter()
+.BR pcap_offline_filter ()
checks whether a filter matches a packet.
.I fp
is a pointer to a
@@ -47,7 +47,7 @@ structure for the packet, and
.I pkt
points to the data in the packet.
.SH RETURN VALUE
-.B pcap_offline_filter()
+.BR pcap_offline_filter ()
returns the return value of the filter program. This will be zero if
the packet doesn't match the filter and non-zero if the packet matches
the filter.