- Sussex, England
- https://luke-else.co.uk
-
Software Engineer and Student from South England
- Joined on
2022-02-07
Block a user
Addition / XOR of IP addresses
Addition / XOR of IP addresses
Implemented in #2 by converting IPs to u32 and adding an additional u32 to each address to get the full range of subnets
Overflow when borrowed network bits >= 8 bits
Update from_arr and to_arr
And because of our current implementation and reliance of us being able to refuse IPv6 Addresses, it would be quite a large and complex change to get this to work.
Update from_arr and to_arr
Doing so would currently create a stack overflow because of a cross dependency between u32::from(IpAddr) and the IpAddr::to_arr() function
Update from_arr and to_arr