Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgp: valid prefixes aren't guilty by association (#406)
* bgp: valid prefixes aren't guilty by association apply_update() would return early if a single invalid nlri was detected. This results in all nlri in that Update being discarded, even if there were no issues with those other nlri or with the Update itself. Let's not throw the baby out with the bathwater. Fixes: #405 Signed-off-by: Trey Aspelund <[email protected]> * rename sanity_check_v4_prefix to is_v4_martian Updates func name and adds some additional comments explaining it. Signed-off-by: Trey Aspelund <[email protected]> --------- Signed-off-by: Trey Aspelund <[email protected]>
- Loading branch information