diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2023-10-16 15:21:36 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-10-16 15:21:36 +0200 |
commit | b5e9e5197bb75c4d7c8f19b1e76b31f9defcb915 (patch) | |
tree | 9b8e6ea1658b88c8131a45c38181b29fa81b3873 /nest/rt-table.c | |
parent | 0e1fbaa5b21db8e5c64a732dbaf0b8afe707a147 (diff) |
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.
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r-- | nest/rt-table.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |