]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: update local ns_id field 3585/head
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:03:23 +0000 (18:03 +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 9b86657f1b092d3a36ad97ec3b2d1c06c95f9325..03987fcb5bf735e0d8d1ee0dc48a484c733782c1 100644 (file)
@@ -73,6 +73,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();