diff options
author | amurai <amurai@FreeBSD.org> | 1998-06-01 08:47:04 +0000 |
---|---|---|
committer | amurai <amurai@FreeBSD.org> | 1998-06-01 08:47:04 +0000 |
commit | daec9421536dea043301b78b1811faf425e5595c (patch) | |
tree | ce5847dfeeeb2a864c0cb5ca1cb3306538092ee8 /lib/libutil/pw_util.c | |
parent | 0f778d7313fc2777a689ebb3f9e162f198928194 (diff) | |
download | FreeBSD-src-daec9421536dea043301b78b1811faf425e5595c.zip FreeBSD-src-daec9421536dea043301b78b1811faf425e5595c.tar.gz |
Trim a domain part for wtmp as same as showed by "netstat -r".
Here is a some example for avoiding a confusion.
It asssumes a logged host domain is "spec.co.jp". All
example is longer than UT_HOSTNAMELEN value.
1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama
2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2
3) specgw.spec.co.jp : 202.32.13.1 -> specgw
Submitted by: Atsushi Murai <amurai@spec.co.jp>
Diffstat (limited to 'lib/libutil/pw_util.c')
0 files changed, 0 insertions, 0 deletions