diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-01-07 09:55:10 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-01-08 15:13:45 +0100 |
| commit | 3f6e9ae5bccc6d7f8c42a01a99ce531690adaa2c (patch) | |
| tree | b3c550e5fdeddfc7e9bbfbc1c1d1afd13d5d1763 | |
| parent | fe615b5a9c7aa20602556d9ea1d6cac38a5475c5 (diff) | |
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>
| -rw-r--r-- | zebra/zebra_ns.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_ns.c b/zebra/zebra_ns.c index 9b86657f1b..03987fcb5b 100644 --- a/zebra/zebra_ns.c +++ b/zebra/zebra_ns.c @@ -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(); |
