immortalwrt/package/network/utils/owipcalc
Nick Hainke 9a8c1fa2e2 owipcalc: remove clone in cidr_contains6
The "cidr_contains6" functions clones the given cidr. The contains4
does not clone the cidr. Both functions do not behave the same.

I see no reason to push the cidr. I think that we get only a negligible
performance gain, but it makes ipv4 and ipv6 equal again.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-01-20 12:05:20 +08:00
..
src owipcalc: remove clone in cidr_contains6 2021-01-20 12:05:20 +08:00
Makefile owipcalc: remove clone in cidr_contains6 2021-01-20 12:05:20 +08:00