summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_ns.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-27 20:36:46 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-10-24 12:53:09 +0200
commit7f0ea8a4a23f4500421e89268b442cf145d0d75f (patch)
treec0ed158240450cff618b54cfe61ab9775ae1ba98 /zebra/zebra_ns.h
parentzebra: Start breakup of zns into zrouter and zns (diff)
downloadfrr-7f0ea8a4a23f4500421e89268b442cf145d0d75f.tar.xz
frr-7f0ea8a4a23f4500421e89268b442cf145d0d75f.zip
zebra: Move rules_hash to zrouter
Move the rules_hash to the zrouter data structure and provide the additional bit of work needed to lookup the rule based upon the namespace id as well. Make the callers of functions not care about what namespace id we are in. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ns.h')
-rw-r--r--zebra/zebra_ns.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h
index 8944f0b6f..2af430420 100644
--- a/zebra/zebra_ns.h
+++ b/zebra/zebra_ns.h
@@ -57,8 +57,6 @@ struct zebra_ns {
struct rtadv rtadv;
#endif /* HAVE_RTADV */
- struct hash *rules_hash;
-
struct hash *ipset_hash;
struct hash *ipset_entry_hash;