summaryrefslogtreecommitdiffstats
path: root/sys/netinet/libalias
diff options
context:
space:
mode:
authorjoel <joel@FreeBSD.org>2012-06-13 18:57:27 +0000
committerjoel <joel@FreeBSD.org>2012-06-13 18:57:27 +0000
commit142d5d1bbd74110e93521e872e859c2a4780a669 (patch)
tree1ca3dcab3d9c74a554df47848db0b2abedb9b477 /sys/netinet/libalias
parent29bd2f6d4632d1ccdcb5f08bc6150a1e3047a731 (diff)
downloadFreeBSD-src-142d5d1bbd74110e93521e872e859c2a4780a669.zip
FreeBSD-src-142d5d1bbd74110e93521e872e859c2a4780a669.tar.gz
mdoc: avoid nested displays. Fixes mandoc warnings.
Diffstat (limited to 'sys/netinet/libalias')
-rw-r--r--sys/netinet/libalias/libalias.36
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/libalias/libalias.3 b/sys/netinet/libalias/libalias.3
index 4d05e80..1837c29 100644
--- a/sys/netinet/libalias/libalias.3
+++ b/sys/netinet/libalias/libalias.3
@@ -201,11 +201,10 @@ is closed.
If this mode bit is set, traffic on the local network which does not
originate from unregistered address spaces will be ignored.
Standard Class A, B and C unregistered addresses are:
-.Bd -literal -offset indent
+.Pp
10.0.0.0 -> 10.255.255.255 (Class A subnet)
172.16.0.0 -> 172.31.255.255 (Class B subnets)
192.168.0.0 -> 192.168.255.255 (Class C subnets)
-.Ed
.Pp
This option is useful in the case that the packet aliasing host has both
registered and unregistered subnets on different interfaces.
@@ -499,14 +498,13 @@ call.
New traffic generated by any of the local machines, designated in the
several function calls, will be aliased to the same address.
Consider the following example:
-.Bd -literal -offset indent
+.Pp
LibAliasRedirectAddr(la, inet_aton("192.168.0.2"),
inet_aton("141.221.254.101"));
LibAliasRedirectAddr(la, inet_aton("192.168.0.3"),
inet_aton("141.221.254.101"));
LibAliasRedirectAddr(la, inet_aton("192.168.0.4"),
inet_aton("141.221.254.101"));
-.Ed
.Pp
Any outgoing connections such as
.Xr telnet 1
OpenPOWER on IntegriCloud