mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 16:57:04 +00:00
zebra: update local ns_id field
ns_id field must be synced with ns_id from netns service. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
fe615b5a9c
commit
3f6e9ae5bc
@ -73,6 +73,7 @@ static int zebra_ns_new(struct ns *ns)
|
|||||||
zns = zebra_ns_alloc();
|
zns = zebra_ns_alloc();
|
||||||
ns->info = zns;
|
ns->info = zns;
|
||||||
zns->ns = ns;
|
zns->ns = ns;
|
||||||
|
zns->ns_id = ns->ns_id;
|
||||||
|
|
||||||
/* Do any needed per-NS data structure allocation. */
|
/* Do any needed per-NS data structure allocation. */
|
||||||
zns->if_table = route_table_init();
|
zns->if_table = route_table_init();
|
||||||
|
Loading…
Reference in New Issue
Block a user