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: Herbert Xu <herbert@...>
Cc: Krzysztof Oledzki <ole@...>, <netdev@...>
Date: Tuesday, October 14, 2008 - 1:46 pm

On Tue, 14 Oct 2008 22:01:27 +0800
Herbert Xu <herbert@gondor.apana.org.au> wrote:



There is no easy solution, I'll will have to go back rewrite this
code, and will document the result. I expect the result will displease
someone, but given the original code that is just going to happen.

Busted cases:
                           correct           incorrect
Original code: 127.2   =>  127.0.0.2         127.2.0.0
inet_pton:     10.0    =>  10.0.0.0          fails invalid
inet_aton:     10      =>  10.0.0.0          0.0.0.10

The problem was Alexey (or Jamal) invented their own abbreviation format
and did not follow unix standard conventions.
--
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)