diff options
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/libalias/libalias.3 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/netinet/libalias/libalias.3 b/sys/netinet/libalias/libalias.3 index fc58e9a4613d..7a582dba6f1c 100644 --- a/sys/netinet/libalias/libalias.3 +++ b/sys/netinet/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 |