diff options
author | ru <ru@FreeBSD.org> | 2004-07-01 17:51:48 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-07-01 17:51:48 +0000 |
commit | a0dce18ba8ce9e5ffe9cdb7f9682f4cd1d408977 (patch) | |
tree | 549f124af3dd50bf57d2a2a9e086882e3d15edab /lib/libalias | |
parent | 9665453a3335ce672087db14f54a53fc97299d2e (diff) | |
download | FreeBSD-src-a0dce18ba8ce9e5ffe9cdb7f9682f4cd1d408977.zip FreeBSD-src-a0dce18ba8ce9e5ffe9cdb7f9682f4cd1d408977.tar.gz |
Bumped document date.
Fixed markup.
Fixed examples to match the new API.
Diffstat (limited to 'lib/libalias')
-rw-r--r-- | lib/libalias/libalias.3 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libalias/libalias.3 b/lib/libalias/libalias.3 index fc58e9a..7a582db 100644 --- a/lib/libalias/libalias.3 +++ b/lib/libalias/libalias.3 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 13, 2000 +.Dd January 17, 2004 .Dt LIBALIAS 3 .Os .Sh NAME @@ -82,7 +82,9 @@ customized by calling .Bd -ragged -offset indent This function is used to initialize internal data structures. -When called first time a NULL pointer should be passed as argument. +When called the first time, a +.Dv NULL +pointer should be passed as an argument. The following mode bits are always set after calling .Fn LibAliasInit . See the description of @@ -488,11 +490,11 @@ 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 -LibAliasRedirectAddr(inet_aton("192.168.0.2"), +LibAliasRedirectAddr(la, inet_aton("192.168.0.2"), inet_aton("141.221.254.101")); -LibAliasRedirectAddr(inet_aton("192.168.0.3"), +LibAliasRedirectAddr(la, inet_aton("192.168.0.3"), inet_aton("141.221.254.101")); -LibAliasRedirectAddr(inet_aton("192.168.0.4"), +LibAliasRedirectAddr(la, inet_aton("192.168.0.4"), inet_aton("141.221.254.101")); .Ed .Pp |