1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-18 07:13:36 +02:00

Also copy aspa_state and aspa_generation in path_copy() this way

the linked db copy of the path gets the right ASPA cache data.

OK tb@
This commit is contained in:
claudio
2026-05-20 20:32:50 +00:00
parent 3ed264f757
commit 441fd8857a
+4 -1
View File
@@ -1,4 +1,4 @@
/* $OpenBSD: rde_rib.c,v 1.294 2026/05/14 18:47:32 claudio Exp $ */
/* $OpenBSD: rde_rib.c,v 1.295 2026/05/20 20:32:50 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
@@ -756,6 +756,9 @@ path_copy(struct rde_aspath *dst, const struct rde_aspath *src)
dst->pftableid = pftable_ref(src->pftableid);
dst->origin = src->origin;
dst->aspa_state = src->aspa_state;
dst->aspa_generation = src->aspa_generation;
attr_copy(dst, src);
return (dst);