]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: set ipv4-mapped ipv6 for ipv4 with ipv6 nexthop
authorLouis Scalbert <louis.scalbert@6wind.com>
Fri, 29 Mar 2024 15:14:14 +0000 (16:14 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Tue, 23 Apr 2024 09:28:36 +0000 (11:28 +0200)
commitfc5a738409eac9ca938cbb398872ea77d9cc5023
treea0575ea83862b53a8a48e72e347c061eb0dc2d99
parent04c220bedb63334a65677a46ef84938cc812221f
bgpd: set ipv4-mapped ipv6 for ipv4 with ipv6 nexthop

The code was expected that no IPv6 global address was present but the
previous commit was replacing nexthop.v6global by the link-local address
instead of un-setting it in case of removal of the IPv6 global.

Set also ipv4-mapped ipv6 address as nexthop when a link-local is found
and it is an ipv4 prefix over ipv6 nexthop.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
bgpd/bgp_updgrp_packet.c