]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: update local ns_id field
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 7 Jan 2019 08:55:10 +0000 (09:55 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 8 Jan 2019 17:04:21 +0000 (18:04 +0100)
ns_id field must be synced with ns_id from netns service.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_ns.c

index 456253cc30362df33f2f68b1c693b23b4468c44b..73260634f3f327309cbdd1009c2a4eb939c33d9d 100644 (file)
@@ -93,6 +93,7 @@ static int zebra_ns_new(struct ns *ns)
        zns = zebra_ns_alloc();
        ns->info = zns;
        zns->ns = ns;
+       zns->ns_id = ns->ns_id;
 
        /* Do any needed per-NS data structure allocation. */
        zns->if_table = route_table_init();