diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-16 10:36:59 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-16 10:36:59 +0300 |
| commit | 2ba93fd65bb0d9942109a5fda925f0a90bff4442 (patch) | |
| tree | 3281e47c621adbb7eefd483acfe9f999b939e8a4 /tests/lib/cli/test_commands.c | |
| parent | ee215461ac7e8bec84691359c7a64488a8c0ee59 (diff) | |
bgpd: Show hostname in `show [ip] bgp ...` only if nexthop is connected
The problem is when using kinda such topologies:
(192.168.1.1/32) r1 <-- eBGP --> r2 <-- iBGP --> r3
Looking at r3's nexthop for 192.168.1.1/32 we have it as r2, but really
it MUST be r1.
Checking if the nexthop is connected solves the problem even for cases
when route-reflectors are used.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'tests/lib/cli/test_commands.c')
0 files changed, 0 insertions, 0 deletions
