diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2022-08-18 17:22:33 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2022-09-05 22:26:33 +0200 |
| commit | 6fc4929e095fb3119f05e544a6b623104ef1c509 (patch) | |
| tree | 796636bc393a461eb8f15fb542fe406214c955d5 /zebra/kernel_netlink.c | |
| parent | b244203fcc06772fdd6b762380b97476753b353b (diff) | |
bgpd: associate appropriate family for redistributed connected addresses
When redistributing connected addresses, the address family has
to be figured out. The calculation was not done, the next-hop
address length was not set, and as consequence, the nexthop
is displayed like if it was an ipv6 address, which is wrong for
ipv4 addresses.
Calculate the family for connected addresses.
Change the topotests accordingly.
Fixes: ("7226bc40d606") bgpd: ignore NEXT_HOP for MP_REACH_NLRI
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/kernel_netlink.c')
0 files changed, 0 insertions, 0 deletions
