diff options
| author | Trey Aspelund <taspelund@nvidia.com> | 2022-08-04 01:43:31 +0000 |
|---|---|---|
| committer | Trey Aspelund <taspelund@nvidia.com> | 2022-08-04 01:50:54 +0000 |
| commit | 8923315db481f2a9f45e76405480edb339738677 (patch) | |
| tree | 5fb5758217398554b4af9a1b0473e6889a389b64 /zebra/kernel_socket.c | |
| parent | 3aa7d2b2c456af58aef2736c4bf64a5e2643ca63 (diff) | |
bgpd: fix show bgp l2vpn evpn route rd crashes
bgpd was crashing every time `show bgp l2vpn evpn route rd` was issued
with an RD that didn't match "all". This was introduced by 9b01d289883
which changed how argv_find() is handled in various vtysh commands, but
the new changes forgot a "!". So let's re-add the "!".
Before:
```
ub20# show bgp l2vpn evpn route rd 399672:100
vtysh: error reading from bgpd: Resource temporarily unavailable (11)Warning: closing connection to bgpd because of an I/O error!
ub20#
ub20# show bgp l2vpn evpn route rd 399672:100 mac 11:11:11:11:11:11
vtysh: error reading from bgpd: Resource temporarily unavailable (11)Warning: closing connection to bgpd because of an I/O error!
ub20#
```
After:
```
ub20# show bgp l2vpn evpn route rd 399672:100
ub20#
ub20# show bgp l2vpn evpn route rd 399672:100 mac 11:11:11:11:11:11
% Network not in table
ub20#
```
Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions
