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:
parent
b6385decb3
commit
e915f99e1c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user