mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-02 21:24:26 +00:00
![]() The onlink attribute was being passed from upper level protocols as an attribute of the route *not* the individual nexthop. When we pass this data to the kernel, we treat the onlink as a attribute of the nexthop. This commit modifies the code base to allow us to pass the ONLINK attribute as an attribute of the nexthop. This commit also fixes static routes that have multiple nexthops some onlink and some not. ip route 4.5.6.7/32 192.168.41.1 eveth1 onlink ip route 4.5.6.7/32 192.168.42.2 S>* 4.5.6.7/32 [1/0] via 192.168.41.1, eveth1 onlink, 00:03:04 * via 192.168.42.2, eveth2, 00:03:04 sharpd@robot ~/frr2> sudo ip netns exec EVA ip route show 4.5.6.7 proto 196 metric 20 nexthop via 192.168.41.1 dev eveth1 weight 1 onlink nexthop via 192.168.42.2 dev eveth2 weight 1 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
static_main.c | ||
static_memory.c | ||
static_memory.h | ||
static_nht.c | ||
static_nht.h | ||
static_routes.c | ||
static_routes.h | ||
static_vrf.c | ||
static_vrf.h | ||
static_vty.c | ||
static_vty.h | ||
static_zebra.c | ||
static_zebra.h | ||
staticd.conf.sample | ||
subdir.am |