Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/npf/npfctl New sentence, new line. Use Fn for funct...



details:   https://anonhg.NetBSD.org/src/rev/b717358e136d
branches:  trunk
changeset: 366564:b717358e136d
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Sep 02 18:03:23 2018 +0000

description:
New sentence, new line. Use Fn for functions.

diffstat:

 usr.sbin/npf/npfctl/npf.conf.5 |  15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diffs (45 lines):

diff -r 1d4d305e949b -r b717358e136d usr.sbin/npf/npfctl/npf.conf.5
--- a/usr.sbin/npf/npfctl/npf.conf.5    Sun Sep 02 17:45:18 2018 +0000
+++ b/usr.sbin/npf/npfctl/npf.conf.5    Sun Sep 02 18:03:23 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: npf.conf.5,v 1.73 2018/09/02 17:45:18 maxv Exp $
+.\"    $NetBSD: npf.conf.5,v 1.74 2018/09/02 18:03:23 wiz Exp $
 .\"
 .\" Copyright (c) 2009-2017 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -103,7 +103,8 @@
 that can be IPv4 or IPv6, which are configured on the actual associated
 interface.
 .Pp
-Such list can be either static or dynamic. With a static list, NPF will
+Such list can be either static or dynamic.
+With a static list, NPF will
 capture the interface addresses on configuration load, whereas with a dynamic
 list NPF will capture the runtime list of addresses, reflecting any changes
 to the interface, including the attach and detach.
@@ -114,11 +115,11 @@
 Three functions exist, to extract addresses from an interface with a chosen
 list type and IP address type:
 .Bl -tag -width Xifaddrs()XX -offset indent
-.It inet4()
+.It Fn inet4
 Static list, IPv4 addresses.
-.It inet6()
+.It Fn inet6
 Static list, IPv6 addresses.
-.It ifaddrs()
+.It Fn ifaddrs
 Dynamic list, both IPv4 and IPv6.
 The
 .Cd family
@@ -126,7 +127,9 @@
 an IP address type.
 .El
 .Pp
-By default, when no extraction function is used, ifaddrs() is assumed.
+By default, when no extraction function is used,
+.Fn ifaddrs
+is assumed.
 .Pp
 Example of configuration with static interface lists:
 .Bd -literal



Home | Main Index | Thread Index | Old Index