]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Don't set `non-transitive` for extcommunity bandwidth by default 9265/head
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 3 Aug 2021 11:25:01 +0000 (14:25 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 3 Aug 2021 11:38:54 +0000 (14:38 +0300)
commit3b225ee79965aeb0b3832ccd6c6b991d1c754023
treea7dd87b12bdb409d04cee6279493bbc39dc3a0ad
parent71bdae66b2c105302f7af9fc0c1deb657e2418d9
bgpd: Don't set `non-transitive` for extcommunity bandwidth by default

Before:

```
~/frr# vtysh -c 'conf' -c 'route-map testas permit 10' -c 'set extcommunity bandwidth 321'
~/frr# vtysh -c 'show route-map testas' | grep 321
    extcommunity bandwidth 321 non-transitive
~/frr# vtysh -c 'show run' | grep 321
 set extcommunity bandwidth 321 non-transitive
```

After:

```
~/frr# vtysh -c 'conf' -c 'route-map testas permit 10' -c 'set extcommunity bandwidth 321'
~/frr# vtysh -c 'show route-map testas' | grep 321
    extcommunity bandwidth 321
~/frr# vtysh -c 'show run' | grep 321
 set extcommunity bandwidth 321
~/frr# vtysh -c 'conf' -c 'route-map testas permit 20' -c 'set extcommunity bandwidth 321 non-tra'
~/frr# vtysh -c 'show run' | grep 321
 set extcommunity bandwidth 321
 set extcommunity bandwidth 321 non-transitive
```

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_routemap.c