summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_ns.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-02-23 13:50:23 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-02-23 13:50:23 +0100
commit27b136bd589ca2e6713ccaa6e0d8ea852c5f25a0 (patch)
tree09d9661ea8fe809809e48b167a84bcf4d6d6fb53 /zebra/zebra_ns.c
parentzebra: Fix warning found in CI system (diff)
downloadfrr-27b136bd589ca2e6713ccaa6e0d8ea852c5f25a0.tar.xz
frr-27b136bd589ca2e6713ccaa6e0d8ea852c5f25a0.zip
zebra: Fix up some code formatting issues.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_ns.c')
-rw-r--r--zebra/zebra_ns.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/zebra_ns.c b/zebra/zebra_ns.c
index c7561f426..1715881f7 100644
--- a/zebra/zebra_ns.c
+++ b/zebra/zebra_ns.c
@@ -34,7 +34,7 @@
DEFINE_MTYPE(ZEBRA, ZEBRA_NS, "Zebra Name Space")
-static __inline int
+static inline int
zebra_ns_table_entry_compare(const struct zebra_ns_table *e1,
const struct zebra_ns_table *e2);
@@ -43,7 +43,7 @@ RB_GENERATE(zebra_ns_table_head, zebra_ns_table, zebra_ns_table_entry,
static struct zebra_ns *dzns;
-static __inline int
+static inline int
zebra_ns_table_entry_compare(const struct zebra_ns_table *e1,
const struct zebra_ns_table *e2)
{
@@ -127,6 +127,7 @@ struct route_table *zebra_ns_get_table(struct zebra_ns *zns,
static void zebra_ns_free_table(struct zebra_ns_table *znst)
{
void *table_info;
+
rib_close_table(znst->table);
table_info = znst->table->info;