diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-03-27 10:25:13 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-06-04 18:33:53 +0200 |
commit | df9c8c5742f0fbdba47bc195ebcc273d6cab4a8d (patch) | |
tree | 81b0b5522879387ea62770a988e3bee391ec0728 /zebra/zebra_ns.c | |
parent | Merge pull request #4452 from donaldsharp/mroute_count (diff) | |
download | frr-df9c8c5742f0fbdba47bc195ebcc273d6cab4a8d.tar.xz frr-df9c8c5742f0fbdba47bc195ebcc273d6cab4a8d.zip |
zebra: move rtadv service from zrouter to zvrf
when network namespace is used as vrf backend, there is need to have
separate contexts for rtadv contexts.
route advertisements have to look for appropriate interface based on
zvrf context.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/zebra_ns.c')
-rw-r--r-- | zebra/zebra_ns.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/zebra/zebra_ns.c b/zebra/zebra_ns.c index 0c743d867..db4f9d001 100644 --- a/zebra/zebra_ns.c +++ b/zebra/zebra_ns.c @@ -27,7 +27,6 @@ #include "lib/prefix.h" #include "lib/memory.h" -#include "rtadv.h" #include "zebra_ns.h" #include "zebra_vrf.h" #include "zebra_memory.h" @@ -122,10 +121,6 @@ int zebra_ns_enable(ns_id_t ns_id, void **info) zns->ns_id = ns_id; -#if defined(HAVE_RTADV) - rtadv_init(zns); -#endif - kernel_init(zns); interface_list(zns); route_read(zns); @@ -142,9 +137,6 @@ int zebra_ns_enable(ns_id_t ns_id, void **info) static int zebra_ns_disable_internal(struct zebra_ns *zns, bool complete) { route_table_finish(zns->if_table); -#if defined(HAVE_RTADV) - rtadv_terminate(zns); -#endif kernel_terminate(zns, complete); |