diff options
| author | Chirag Shah <chirag@nvidia.com> | 2020-12-01 16:02:36 -0800 |
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2020-12-07 08:31:04 -0800 |
| commit | 801bb996a4837690e303a8c93aa7bc085079cc62 (patch) | |
| tree | d0252656f2e4203256210c4f17050afb62cc46fa /zebra/zapi_msg.c | |
| parent | f1ca1dde81142e2a7ac8ce54a845ef656f7914ec (diff) | |
bgpd: fix distance for aggregate route
bgp aggregate address installs route with self peer which
can have peer->su of unspecifed type.
bgp_distance_apply bailed out as it fails to parse
sockunion2hostprefix for af type unspec.
config:
address-family ipv4 unicast
aggregate-address 50.1.0.0/16 summary-only
Testing Done:
Before:
B>* 50.1.0.0/16 [20/0] unreachable (blackhole), weight 1, 00:00:02
After:
B>* 50.1.0.0/16 [200/0] unreachable (blackhole), weight 1, 00:01:28
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'zebra/zapi_msg.c')
0 files changed, 0 insertions, 0 deletions
