amurai daec942153 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>
1998-06-01 08:47:04 +00:00
..
1998-03-23 13:29:49 +00:00
1997-04-13 14:12:48 +00:00
1997-02-22 15:12:41 +00:00
1997-06-16 23:38:01 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-02-22 15:12:41 +00:00
1997-10-27 07:53:22 +00:00