From b5e9e5197bb75c4d7c8f19b1e76b31f9defcb915 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Mon, 16 Oct 2023 15:21:36 +0200 Subject: MPLS: Fix issue with recursive MPLS routes Recursive MPLS routes used hostentry from the original route, which triggered different table than MPLS table, and therefore were not updated. --- nest/rt-table.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nest/rt-table.c') diff --git a/nest/rt-table.c b/nest/rt-table.c index e497524f..0ac18cf5 100644 --- a/nest/rt-table.c +++ b/nest/rt-table.c @@ -3663,6 +3663,7 @@ rt_get_hostentry(rtable *tab, ip_addr a, ip_addr ll, rtable *dep) return he; he = hc_new_hostentry(hc, tab->rp, a, link, dep, k); + he->owner = tab; rt_update_hostentry(tab, he); return he; } -- cgit v1.2.3