nanog mailing list archives

Re: IPv6 Netowrk Device Numbering BP


From: Sander Steffann <sander () steffann nl>
Date: Thu, 1 Nov 2012 15:27:05 +0100

Hi Owen,

You really shouldn't need to parse these and it's perfectly valid to reject them as invalid input. This really is an 
output only format [...]

I don't agree. I think it's actually the other way around. It's a valid representation of an IPv6 address so you be 
able to parse them. You don't need to be able to output them though.

Finally, at this point, if you're feeling like you have to write your own IP address parser, you're probably doing 
something wrong. PLEASE PLEASE PLEASE use the standard
libraries whenever possible.

Definitely +1 here!
Sander



Current thread: