diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2023-08-04 17:24:51 +0200 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2023-08-04 17:24:51 +0200 |
commit | 3eb4d42e62bd47a3265f5b08ec372108ef1388d8 (patch) | |
tree | 28c41b14b91f2ba7846dde9197720b5c812df16d /vtysh | |
parent | Merge pull request #14145 from opensourcerouting/fix/handling_cluster_transit (diff) | |
download | frr-3eb4d42e62bd47a3265f5b08ec372108ef1388d8.tar.xz frr-3eb4d42e62bd47a3265f5b08ec372108ef1388d8.zip |
staticd: fix comparison of nexthop-vrf
When displaying the configuration, the order of nexthop-vrf is wrong,
because the default VRF is not displayed, but still compared as the word
"default". Therefore it is placed in the middle of the list instead of
always being the first one.
Before the fix:
```
ip route 1.1.1.0/24 2.2.2.2 nexthop-vrf ccc
ip route 1.1.1.0/24 2.2.2.2
ip route 1.1.1.0/24 2.2.2.2 nexthop-vrf eee
```
After the fix:
```
ip route 1.1.1.0/24 2.2.2.2
ip route 1.1.1.0/24 2.2.2.2 nexthop-vrf ccc
ip route 1.1.1.0/24 2.2.2.2 nexthop-vrf eee
```
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'vtysh')
0 files changed, 0 insertions, 0 deletions