0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

L3VPN: Fix bug in reconfiguration

Fields import_target / export_target link to config structures, must be
updated during reconfiguration.
This commit is contained in:
Ondrej Zajicek 2023-09-24 00:24:50 +02:00
parent b6385decb3
commit e915f99e1c

View File

@ -431,6 +431,10 @@ l3vpn_reconfigure(struct proto *P, struct proto_config *CF)
}
*/
/* Update pointers to config structures */
p->import_target = cf->import_target;
p->export_target = cf->export_target;
proto_setup_mpls_map(P, RTS_L3VPN, 1);
return 1;