[sr-dev] IPv4 and IPv6 binary comparison

Juha Heinanen jh at tutpro.com
Wed Apr 27 12:56:34 CEST 2011


Iñaki Baz Castillo writes:

> So, is it ok if I create a new module called "ip_utils"?

inaki,

i vote against creating yet another utils module.  since you are
comparing texts, put it is texops module.

if one address is ipv4 and the other ipv6 representation of ipv4 address
(i think there is one), will the comparison return true?

-- juha



More information about the sr-dev mailing list