]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: return failure for wildcard ERT
authoranlan_cs <vic.lan@pica8.com>
Fri, 21 Oct 2022 05:17:29 +0000 (01:17 -0400)
committeranlan_cs <vic.lan@pica8.com>
Mon, 24 Oct 2022 12:51:12 +0000 (08:51 -0400)
commit7231b9ab170de27b431b7b586b4f0008bf358e74
tree712fb32fe674675ff62085f97bbf4d52e70c7bbb
parent4ca122525dd4b6df5e6c152059f4a1dbef1d6338
bgpd: return failure for wildcard ERT

The "RTLIST..." list should be maintained integrity. If wildcard check
failed, it should immediately return failure. Otherwise user configuration
will be partial.

```
anlan(config-router-af)# route-target export *:55 33:33
% Wildcard '*' only applicable for import
anlan(config-router-af)# route-target both *:55 33:33
% Wildcard '*' only applicable for import
```

With this commit, the RTs without wildcard will not be executed as before. And
the same for `no` form.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
bgpd/bgp_evpn_vty.c