RIOT
RIOT copied to clipboard
gnrc/ipv6_auto_subnets: don't remove unrelated prefixes
Contribution description
The search for the previous prefix code (if the prefix changes) was a bit too aggressive and removed unrelated prefixes that were added manually.
Limit this by introducing a tunable to set the maximal difference between two prefixes so that they are considered related and can be removed.
Testing procedure
Issues/PRs references
Murdock results
:heavy_check_mark: PASSED
70b2547f5e096297906a804837afd52b913236ca gnrc/ipv6_auto_subnets: don't remove unrelated prefixes
| Success | Failures | Total | Runtime |
|---|---|---|---|
| 10280 | 0 | 10280 | 09m:07s |
Artifacts
Instead of that the receiver has to purge an old prefix, could the originator of the prefix declare it as invalid by setting the valid lifetime to 0 in a PIO?