On Wed, Jan 21, 2004 at 01:43:44AM +0200, Rene Hertell wrote:
> 
> I was playing around with different ways in extracting an ip-addres
> from an interface, and I found out that ifconfig does not return the
> ip correctly as 12.34.56.78/24, but instead 12.34.56.78.

Yes, because at the location that example is given it's for determining
the specific IP address assigned to the interface, not for determining
the network scope.

-- 
Jamin W. Collins

Facts do not cease to exist because they are ignored. --Aldous Huxley,
"Proper Studies", 1927

Reply via email to