Commit 3c47932
committed
[subnet_division] Fixed overlapping subnets with different sizes #864
Refactored the allocation logic to use netaddr.IPSet for mathematical
gap-filling. Added a guard for /32 rules on /32 master subnets and
restored the exhaustion logger expected by legacy tests.
Fixes #8641 parent cb38242 commit 3c47932
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
145 | | - | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
0 commit comments