Re: Error: an inet prefix is expected rather than "0/0".

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Krzysztof Halasa <khc@...>
Cc: Herbert Xu <herbert@...>, Stephen Hemminger <shemminger@...>, Krzysztof Oledzki <ole@...>, <netdev@...>
Date: Wednesday, October 15, 2008 - 12:07 pm

On Wed, 2008-10-15 at 17:35 +0200, Krzysztof Halasa wrote:

It's a Berkeley extension which spread via BSD and its inet_aton()
function.  I don't believe it's specified in any RFC.


No, a single number is treated by inet_aton() as a 32-bit address, so 10
is equivalent to 0.0.0.10.


Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Error: an inet prefix is expected rather than "0/0"., Krzysztof Oledzki, (Wed Oct 8, 5:05 pm)
Re: Error: an inet prefix is expected rather than "0/0"., Krzysztof Oledzki, (Wed Oct 8, 5:32 pm)
Re: Error: an inet prefix is expected rather than "0/0"., Stephen Hemminger, (Tue Oct 14, 1:46 pm)
Re: Error: an inet prefix is expected rather than "0/0"., Krzysztof Halasa, (Wed Oct 15, 11:35 am)
Re: Error: an inet prefix is expected rather than "0/0"., Ben Hutchings, (Wed Oct 15, 12:07 pm)
Re: Error: an inet prefix is expected rather than "0/0"., Krzysztof Halasa, (Wed Oct 15, 2:52 pm)
Re: Error: an inet prefix is expected rather than "0/0"., Stephen Hemminger, (Mon Oct 27, 1:39 pm)
Re: Error: an inet prefix is expected rather than "0/0"., Patrick McHardy, (Tue Oct 14, 5:52 pm)
Re: Error: an inet prefix is expected rather than "0/0"., Patrick McHardy, (Tue Oct 14, 5:54 pm)
Re: Error: an inet prefix is expected rather than "0/0"., Krzysztof Oledzki, (Tue Oct 14, 3:15 pm)
Re: Error: an inet prefix is expected rather than "0/0"., Stephen Hemminger, (Tue Oct 14, 3:18 pm)
Re: Error: an inet prefix is expected rather than "0/0"., Ben Hutchings, (Tue Oct 14, 3:38 pm)