]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.c
lib,zebra,bgpd: Fix for nexthop as IPv4 mapped IPv6 address
authorKaushik <kaushik@niralnetworks.com>
Wed, 29 Jul 2020 15:48:57 +0000 (08:48 -0700)
committerKaushik <kaushik@niralnetworks.com>
Tue, 4 Aug 2020 06:24:04 +0000 (23:24 -0700)
commit92d6f769880d031f4a46c4dc805284a430301a7d
tree1f1a9e1c0d9dcfd2bc35dc06e07bc45404a6b2a5
parentde5f29dabda30d58c8b25e82245b9ad2bae485b4
lib,zebra,bgpd: Fix for nexthop as IPv4 mapped IPv6 address

Added a macro to validate the v4 mapped v6 address.
Modified bgp receive & send updates for v4 mapped v6 address as
nexthop and installing it as recursive nexthop in RIB.
Minor change in fpm while sending the routes for nexthop as
v4 mapped v6 address.

Signed-off-by: Kaushik <kaushik@niralnetworks.com>
bgpd/bgp_nht.c
bgpd/bgp_updgrp_packet.c
lib/ipaddr.h
zebra/rt_netlink.c
zebra/zebra_fpm_netlink.c
zebra/zebra_nhg.c