diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-02-15 12:07:43 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-02-23 09:34:05 +0200 |
| commit | 80c85dedb9186467e156cdbaeb8e34588c9035f7 (patch) | |
| tree | 37a521cc501dade2e9b02c8d5a752e2b89160853 /lib/pullwr.h | |
| parent | ac6a3bfc787d9c312aa22076c26d6ce1d2f21460 (diff) | |
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 439b739495e86912c8b9ec36b84e55311c549ba0)
Diffstat (limited to 'lib/pullwr.h')
0 files changed, 0 insertions, 0 deletions
