Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: Do not convert EVPN prefixes into IPv4/IPv6 if not needed #15418

Commits on Feb 23, 2024

  1. lib: Do not convert EVPN prefixes into IPv4/IPv6 if not needed

    Convert only when this is really needed, e.g. `match ip address prefix-list ...`.
    
    Otherwise, we can't have mixed match clauses, like:
    
    ```
    match ip address prefix-list p1
    match evpn route-type prefix
    ```
    
    This won't work, because the prefix is already converted, and we can't extract
    route type, vni, etc. from the original EVPN prefix.
    
    Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
    (cherry picked from commit 439b739)
    ton31337 committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    8d5c6eb View commit details
    Browse the repository at this point in the history