diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-07-01 17:51:48 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-07-01 17:51:48 +0000 |
| commit | c9a246418db48f9a73d8984e79ea514800a8073a (patch) | |
| tree | 549f124af3dd50bf57d2a2a9e086882e3d15edab /lib/libalias | |
| parent | a4da0c4b6bf42dea8a45cb3c952da29edc027bb7 (diff) | |
Notes
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 fc58e9a4613d..7a582dba6f1c 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 |
