Hi,
michael@insulin-pumpers.org via RT:
Show quoted text> read the docs for how inet_aton works. If you preceed the number by a 0,
> it is assumed to be octal. NetAddr::IP works exactly the same way.
>
The problem is that there are a lot of cases where people are printing
IP addresses with %03d.%03d.%03d.%03d format strings (I hit this
problem when parsing Received: headers).
The use case for octal IP addresses, on the other hand, is nonexistent.
Oh well. I'll use a regexp to filter the zeroes away then.
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. |
http://smurf.noris.de
v4sw7$Yhw6+8ln7ma7u7L!wl7DUi2e6t3TMWb8HAGen6g3a4s6Mr1p-3/-6 hackerkey.com
- -
Life's the same, except for the shoes.
- The Cars