DragonFly BSD
DragonFly submit List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: hostname(1) change


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Jan 2004 00:29:41 -0800 (PST)

:Hey Matt n all,
:
:Thanks Matt, here's the latest patch, it adds -i functionality, so now you can;
:
:hostname -i tun0 -4 |
:hostname -i tun0    |- to get the hostname of the first resolving IPv4 address on tun0
:
:hostname -i tun0 -6    to get the hostname of the first resolving IPv6 address on tun0
:
:It seems to work well, no odd behaviour, let me know if there's any problems
:with it.  There's probably a few minor touch-ups, but from testing here its
:functionally stable (is that an oxymoron? :) )
:
:
:Cheers,
:
:-- 
:Kent Ibbetson
:bsd@xxxxxxxxxx

    This looks good!  I've committed it with a few minor syntax adjustments.
    We can make further commits if additional modifications are necessary.

						-Matt



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]