You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might missed out, but is there any method to compare the network prefix (i.e. the first 64 bits) between 2 IPv6 addresses?
Something like:
a = IPAddress '12:34:3cf:7ab:98bc:e46e:ce45:9986'
b = IPAddress '12:34:3cf:7ab:7fbc:e45a:c6f:112a'
a.network_prefix # returns '12:34:3cf:7ab'
a.same_domain? b
The text was updated successfully, but these errors were encountered:
I might missed out, but is there any method to compare the network prefix (i.e. the first 64 bits) between 2 IPv6 addresses?
Something like:
The text was updated successfully, but these errors were encountered: